-
Sencha User
Touch20 List with Store & Model generated in Architect 2.1.0 Windows 7 platform & IIS
This looks valid to me, but this simple list will not display...? I have tried this with just a panel with an image and it works fine So IIS is having no problem display pages with Safari on windows... help greatly appreciated!
PATH=C:\inetpub\wwwroot\Sencha-touch-2;C:\Users\GregC\bin\Sencha\Cmd\3.0.0.250;... C:\Ruby193\bin
app.js
*/
Ext.Loader.setConfig({
enabled: true
});
Ext.application({
models: [
'LSmodel'
],
stores: [
'LSstore'
],
views: [
'LSdataView'
],
name: 'MyApp',
launch: function() {
Ext.create('MyApp.view.LSdataView', {fullscreen: true});
}
});
VIEW:
*/
Ext.define('MyApp.view.LSdataView', {
extend: 'Ext.dataview.DataView',
config: {
store: 'LSstore',
itemTpl: [
'fname'
]
}
});
STORE:
*/
Ext.define('MyApp.store.LSstore', {
extend: 'Ext.data.Store',
requires: [
'MyApp.model.LSmodel'
],
config: {
data: 'Joseph G\r\nDonna D',
model: 'MyApp.model.LSmodel',
storeId: 'LSstore',
fields: [
{
name: 'fname'
}
]
}
});
MODEL:
*/
Ext.define('MyApp.model.LSmodel', {
extend: 'Ext.data.Model',
config: {
fields: [
{
name: 'fname'
}
]
}
});
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules