-
19 Dec 2012 3:30 AM #1
baseParams problem
baseParams problem
Hi All,
i had a problem while using baseParams to load a store.
So i initialise a store with a specific methode to execute but when i use baseParams to change this methode i had a probleme which the store load by using the first one.
var InstructionStore = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({ url: "tank_reception_Controller.aspx" })
, baseParams: { Action: "getinstruction"}
, autoDestroy: true
, reader: new Ext.data.JsonReader({
fields: [
{ name: 'id_instruction' }, { name: 'instruction' }
]
})
});
the baseParam methode:
InstructionStore.baseParams = {
Action: "getFirstinstruction"
, idproduit: id_produit,Bac :bacValue,hauteur : hauteur, reception: ReceptionId
};
InstructionStore.loadData;
InstructionStore.load();
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote