我需要使用生成的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