Sencha Touch Nestedlist JSON format Example - json

I'm new to sencha. Using Sencha touch. I would like to make nested listing like first of list comes, when click on one of the link it goes to another listing, when click on second list's any link it opens image like that.
http://dev.sencha.com/deploy/touch/examples/nestedlist/
Above example is perfectly suitable for this one more than that below application.
http://touchstyle.mobi/app/
When i'm doing any modification in
http://dev.sencha.com/deploy/touch/examples/nestedlist/
it gives no error or warning i'm using Fedora 11 linux Google Chrome.
Can anybody tell me what is the JSON perfect format for this nested listing. I will do it for dynamic.
So if anyone help to get static nested list it would be better.

if you open the web inspector in safari you'll see for the example above, the data should be formatted like:
{"text":".","children":[{"fileName":"widgets","id":".\/widgets","cls":"folder"},{"fileName":"gestures","id":".\/gestures","cls":"folder"},{"fileName":"data","id":".\/data","cls":"folder"},{"fileName":"core","id":".\/core","cls":"folder"},{"fileName":"util","id":".\/util","cls":"folder"},{"fileName":"layout","id":".\/layout","cls":"folder"},{"fileName":"platform","id":".\/platform","cls":"folder"}]}
web inspector or firebug are mandatory for sencha hacking :)
brad

Related

Is there other ways to create a button for Google Apps menu in chrome extension?

enter image description here
While I'm building a chrome extension, I want to implement a button in a new tab of chrome.
(as shown in picture, just like the original new tab has.)
I thought there must be a way, something like Google API or webpack.
But even after I spent 3 hours of searching, I couldn't find it.
And I've also tried to inspect other extensions in the store,
but the codes were too complicated to beginner like me.
So I decided to build it manually with tags and icons.
Am I on the right track?
or Is there any API or webpack?

Upload multiple camera photos with html input

I have a web application with an upload form.
<input type="file" name="c_files[]" id="c_files" multiple="multiple" />
I can select and upload mutliple files from the gallery but can't make multiple photos from the camera app. Taking the photos first and then uploading them from the gallery is not a good way to go.
I'm using Google Chrome Version 92.0.4515.159 on Android 11.
Firefox for Android and Safari on iOS isn't working either.
Apparently I have to use javascript right or is their an exisiting work around?
There is no such thing as "Out of the Box" that will solve your problem or your scenario, and the truth is that not HTML have at least one way to get there.
But... we have javascript I can think of something that is not exactly what you are looking for but it would be the way to perform this feat:
detect that you are on a mobile device.
allow that if you are on a mobile device when you click on the file field, you directly invoke the camera APP and take multiple photos.
when returning to the form detect the event and make the programmatic trigger of the multiple input type file, but directly open the image gallery...
select multiple images to attach.
As you can see, this is a concept/solution based on the capabilities that we know the mobile environment and the javascript language have. regardless of HTML.
To achieve this you must get each point mentioned above to work.

Map on image in flutter (like in html)

I'm working on an app where I need map-like in html function.. the thing is I have the website ready
The website shows a picture of an auto-part with multiple clickable areas so the user can select which
part to select
Example
I wondering if I can find this functionality in Flutter
Thanks in advance
I have not used this package yet but this might work for you - https://pub.dev/packages/flutter_image_map
From what I've seen in the readme/example tab you should be able to achieve your design.

Unable to find IDs of a hybrid App

I have been using Selendroid; it works perfectly for native apps, but for some of the hybrid apps, it is not working properly. With the Employee Directory.apk, Selendroid Inspector works fine (able to get all the IDs), but for another hybrid app which I am trying, Inspector is not able to show the element IDs. Workaround: somehow I got the ID of a button (of a hybrid app) and am able to click on the button, but I want to get the ID from the Selendroid Inspector.
What could be the reason why the Inspector is unable to show these IDs?
If you are using chrome, type this into the address bar
chrome://inspect/#devices.
Just attach a device/emulator, open a browser and click on inspect on the inspect option.
This will let you access the id's, and different properties of the element you want.
You can build XPath addresses using those properties.
When it comes to hybrid apps. Some of the buttons might not have ids. It all depends if the developer added the ID. So you have to resort to cssSelectors, xpath or smth else. I asked the developer of the app i was testing to add id's to the button.

Selenium does not record Ajax Call. Need help on coding in html or selenese

I am recording a .Net application using Selenium IDE. Theres this scenario, that a textbox is presnt. I need to enter a name to search. As soon as i start typing, matching options come in a dropdown below. I have to select one of them, then the application goes to the next page.
The problem is, Selenium doesnt record this selection from the drop down. More over, when the script is typing in the name, the dropdown list is not being visible at all.. i.e. the ajax call is not occuring.
Please help. I need the solution code in Selenese or HTML, since I'm not much of a coder myself, and also, I am simply recording and playback, so I am not using Java or other scripts.
This question is great,
and so is the answer in this blog: http://blog.buberel.org/2010/07/howto-test-jquery-ajax-autocomplete-menus-with-selenium.html
other option to deal with this problem is to use a different way to insert your text into the text box, as described here: Can selenium handle autocomplete?