Re: data driven MVP?

2010-12-14 Thread Subhrajyoti Moitra
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

data driven MVP?

2010-12-13 Thread Reij
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..