HerrB
22 Jun 2009, 10:29 AM
Could someone could post a hint/an example, how the changes in a store (e.g. TreeStore) may be saved into a database e.g. using a webservice?
Do I have to add a listener to the store update event and there has to be which element to send the new object/the request for the new object to a webservice?
Currently I'm combining a HTTPProxy (getting the data from an ASP.NET webservice), a JSONLoader and a TreeStore to get a tree where I can add new elements - but changes to the store (e.g. an "add new model") doesn't send anything to the webservice. I thought, that changes in the store are getting transmitted via the HTTPProxy back to the server (which is not the case, I think now).
Sorry, if this is a stupid question, but I haven't found any information how to do this in Ext GWT.
*Please*
Regards,
HerrB
Do I have to add a listener to the store update event and there has to be which element to send the new object/the request for the new object to a webservice?
Currently I'm combining a HTTPProxy (getting the data from an ASP.NET webservice), a JSONLoader and a TreeStore to get a tree where I can add new elements - but changes to the store (e.g. an "add new model") doesn't send anything to the webservice. I thought, that changes in the store are getting transmitted via the HTTPProxy back to the server (which is not the case, I think now).
Sorry, if this is a stupid question, but I haven't found any information how to do this in Ext GWT.
*Please*
Regards,
HerrB