To be more precise I would like to know if, to manage model change events, it is preferable to use the handler manager and create HasChangeHandler or defining our own model change event mecanism doing, for example, a ModelManager firing model change events to all presenters listening for these events ?
Thanks, Richard On 3 oct, 09:46, Richard <[email protected]> wrote: > Hi all, > > I'm new to GWT and I'm creating a little project which allows to > find some articles, viewing and editing them. Laters means I have 2 > possibles views of the same article. I want that when I modify an > article via the article editor all the views of this article be > notified of this change and refresh them. How can I do that ? > > I've built my own simple MVP pattern (no framework, without gin). > for example for the editor : > - the model is an Article > - the view is a passive view which expose some display methods to be > used by the presenter (displayTitle(), displayContent(), ..) > - the presenter is instantiated with an Article and manage the view > > thanks, > Richard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
