thilakmsc
10 Aug 2012, 11:04 PM
I got Error in Store Preview option in Sencha Architect2.0.,
Ext.define('MyApp.store.StoreListDefinition', {
extend: 'Ext.data.Store',
requires: [
'MyApp.model.ModelListDefinition'
],
constructor: function(cfg) {
var me = this;
cfg = cfg || {};
me.callParent([Ext.apply({
autoLoad: true,
autoSync: true,
storeId: 'StoreListDefinition',
model: 'MyApp.model.ModelListDefinition',
proxy: {
type: 'ajax',
simpleSortMode: true,
url: 'http://sample129/List/ScriptPage/ScriptPageProxy.aspx/GetListDefinition ',
reader: {
type: 'json',
root: 'd',
totalProperty: 'Total'
}
}
}, cfg)]);
}
});
Error ----504: Gateway Time-out
Ext.define('MyApp.store.StoreListDefinition', {
extend: 'Ext.data.Store',
requires: [
'MyApp.model.ModelListDefinition'
],
constructor: function(cfg) {
var me = this;
cfg = cfg || {};
me.callParent([Ext.apply({
autoLoad: true,
autoSync: true,
storeId: 'StoreListDefinition',
model: 'MyApp.model.ModelListDefinition',
proxy: {
type: 'ajax',
simpleSortMode: true,
url: 'http://sample129/List/ScriptPage/ScriptPageProxy.aspx/GetListDefinition ',
reader: {
type: 'json',
root: 'd',
totalProperty: 'Total'
}
}
}, cfg)]);
}
});
Error ----504: Gateway Time-out