Re: MVP Problem when implementing the presenter as singleton

2010-07-13 Thread PhilBeaudoin
How do you instantiate and populate your view? Is it fully created before the presenter constructor is called? For my part, I use GIN and the gwt-platform mechanism which has an onBind() method that is invoked automatically after all the relevant objects are constructed. The onBind() method is cal

Re: MVP Problem when implementing the presenter as singleton

2010-07-12 Thread Gal Dolber
Some code? 2010/7/12 crojay78 > Hi, > > I have a problem with my mvp project. > > I do the binding in the constructor of each presenter, every presenter > is implemented as a singleton. I do that because otherwise I > discovered that the binding to the buttons, textboxes etc will be > establishe

MVP Problem when implementing the presenter as singleton

2010-07-12 Thread crojay78
Hi, I have a problem with my mvp project. I do the binding in the constructor of each presenter, every presenter is implemented as a singleton. I do that because otherwise I discovered that the binding to the buttons, textboxes etc will be established each time I use the presenter and so i had du