Use a Scheduler to schedule a RepeatingCommand. The scheduler is defined in the presenter. The command will retrieve the backend data and do a view.setTexboxData(....) or view.setLabelData(...).
The view should be implementing these methods (setTextBoxData() and setLabelData(..)) to actually write the data to the widgets being used in the view. HTH. Thanks, Suibhro. On Tue, Dec 14, 2010 at 12:05 AM, Reij <[email protected]> wrote: > I am writing an application that pools the server at regular intervals > (approx 10-20 seconds) these changes need to update textboxes and > labels to reflect these changes. > > From researching it seems as though MVP is the way to go, but I am > unsure how to actually attach the handlers and listeners.. > > Any help on this would be greatly appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
