Panel list missing Ext.mixin.Selectable on occasion
There seems to be a problem with lists on panels.
I'd create two panels, each with one of the panel items being a list (xtype: 'list'). These panels and lists are identical in every way but name (and, of course, the lists themselves have different itemId strings).
However, in debugging and in practice, the lists differ fundamentally. The first list has a _baseCls of 'x-list', the other has no _baseCls defined. The first has all the Ext.mixin.Selectable functions accessible, the other does not (they are undefined and I therefore cannot control list selection, for example).
There doesn't seem to be any rhyme nor reason for this. They are defined in the same view subdirectory, and their controllers are defined in the same subdirectories. Everything is basically the same, but the lists behave differently and are defined differently.
The only thing that might differ is that the first list activates the second list when a list item is tapped (disclosed), through an animateActiveItem() call. I'm not sure if this affects things.
Not sure how you would go about fixing this, but perhaps be aware of it in your debugging travels. And if anyone has some guidance, I would appreciate it. Thanks.
Now working under 2.1, but...
I was finally able to install the 2.1 SDK and the new Sencha command (126.96.36.199). The app works fine in the browser, but now I can't seem to get it going in the iOS Simulator.
I use the usual 'sencha app build native' command, with all the settings in app.json and packager.json set properly (i.e. as before),
The error occurs when trying to find a third-party .js file. The file is located in the base directory (i.e. where app.js is located) so it easy to find. It is specified in the app.js file as a requires entry, and I have also specified in the app.json file as "js": ["path": ...] entry.
The builder output at the fail-point is:
... followed by a whole bunch of other errors.
[ERR] Failed to find file for FILENAME
required by /Projects/SenchaTouch2/projects/PROJECTDIR/app.js
[ERR] BUILD FAILED
Am I missing something else?
(Again, it works in the browser when testing, just not when trying to test in the simulator. This was working under SDK 188.8.131.52, and the old "sencha app build native" command. Also note the "js": ["path": ..] entry was not required in that version.)