PDA

View Full Version : Url Params in store.load({params})



sKuD24
12 Sep 2008, 12:59 AM
Hello everybody.
I have a problem with a store.
I want to change the loading params with using params object in the load() method.
myStore.load({
params : {
"url" : baseUrl + 'statistique/getStat'

}
});
but I have nothing, the old Url is charging (baseUrl + 'statistique)
What the matter with this method ?
Thanks.

Animal
12 Sep 2008, 1:31 AM
Change the params. You are passing a parameter called "url", I don't think that is what you want.

sKuD24
12 Sep 2008, 1:34 AM
I'have change my method.
Thanks