我需要使用生成的url设置ajax请求。Extjs4 - Ajax请求:网址生成
Ext.define('Cc.store.Absences', {
extend: 'Ext.data.Store',
model: 'Cc.model.Absence',
autoLoad: false,
proxy: {
type: 'ajax',
url: 'person/user_id/absences', //I need a param to define user id
reader: {
type: 'json'
}
}
});
我想我必须使用Ext.data.Operation,但我不知道该怎么做。
完美,这就是我需要的。谢谢=) – 2011-05-19 13:57:35