if you have the grid already displaying, you should update the grid in the client once there is a successful call to your service. There is no need to get ALL the data back from the server into the grid. It is just a matter of updating the store and refreshing it...
On Sun, Sep 7, 2008 at 2:52 AM, nformosa <[EMAIL PROTECTED]> wrote: > > Hi All, > > I know this question maybe asked one time to many but i still can't > get a grip on how to tackle it. I'm quite new to GWT, Gwt-Ext and the > whole ajax concept so please alow for this > > This is situation: > > I have a panel which has a grid and a Form (1 textbox, 1 submit > button). The idea is to save the contents of the textbox in the > database and reload the grid with the new data + the rest of the data. > > I then have a ServiceImpl on the server part which loads/saves data > from by EJB bean. > > So i have > 1. GuestTypePanel (the panel having the grid + form) > 2. GuestService (Interface on client) > 3. GuestServiceAsynch > 4. GuestSErviceImple which lies on the server side, extending > RemoteServiceServlet and implenting the GuestService Interface. > > I already manage to save data, thats by calling the Asynch callback on > the Panel moving down to the server side and through my EJB Bean > saving to the db. > > Now the problem is; i would like to load data onto the grid and > reloading or refreshing data once saved. I have another method on the > GuestServiceImpl class which loads the List from the EJB bean and > transforms it to a xml string.....but thats the extend of it. Should i > use Http Proxy or? if so any ideas how to implement it and call that > particular method to load data? > > Any help would be great...as i'm completely lost! > > Thanks > > Nick > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
