Hi,
In sencha touch 2 i am using store. In that store i am using proxy to call my asp.net project webservice. It will return a json format. But when i am using proxy inside store safari browser automatically is stopped. What is the reason? I poseted my code below
Ext.define
(
'eHelpline4.store.ServiceCategory',
{
extend: 'Ext.data.Store',
//requires:['myproject.model.ServiceCategory'],
alias: 'store.ServiceCategory',
// config:
// {
model: 'myproject.model.ServiceCategory',
storedId: 'servicecategory',
proxy:
{
type: 'ajax',
url: myurl,
scope: this,
extraParams:
{
method : 'servicecategory',
ModuleName : 'Incident' },
reader:
{
type: 'json',
rootProperty: 'data'
}
},
autoLoad: true,
//}
}
);
Here I have commented config. If I uncomment config throwing error. If i comment store is not loadig the value. Pleas suggest me.