m5md
2 Sep 2009, 9:13 AM
Hi,
I am new to GXT, we are exploring replacing our YUI based UI with GXT. We love the widgets and GXT.
I am essentially using the XMLGrid example from the GXT explorer demo (http://www.extjs.com/examples/#xmlgrid). The change i made was to change the proxy URL load data from a REST service that returned XML. So far so good.
I then added a listener to the grid to handle a mouse click which then made a POST to another REST service to make updates.
What I now need to do on POST success, is to reload the entire grid again to reflect the updated status of the record(s), including those that may have been made by other users.
The first call to loader.load() works, but any subsequent call to the loader.load() in response to the user clicks seems to return data cached from the first call.
In fact, it succeeds even if I shut down the REST service!. Hitting the REST url directly correctly returns the updated data, so I have eliminated that possibility.
I have implemented a LoadListener for the Loader and the loaderLoadException method is never invoked.
Thanks,
I am new to GXT, we are exploring replacing our YUI based UI with GXT. We love the widgets and GXT.
I am essentially using the XMLGrid example from the GXT explorer demo (http://www.extjs.com/examples/#xmlgrid). The change i made was to change the proxy URL load data from a REST service that returned XML. So far so good.
I then added a listener to the grid to handle a mouse click which then made a POST to another REST service to make updates.
What I now need to do on POST success, is to reload the entire grid again to reflect the updated status of the record(s), including those that may have been made by other users.
The first call to loader.load() works, but any subsequent call to the loader.load() in response to the user clicks seems to return data cached from the first call.
In fact, it succeeds even if I shut down the REST service!. Hitting the REST url directly correctly returns the updated data, so I have eliminated that possibility.
I have implemented a LoadListener for the Loader and the loaderLoadException method is never invoked.
Thanks,