neo09 / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

Support adding popup right into the RootPresenter #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, popups presenters are built as PresenterWidget which are injected in 
a parent presenter and revealed in this presenter. As a consequence, the popup 
presenter disappears and reappears as you navigate out of the page or back in.

This usually works right, and might even be the desired behavior in some cases. 
However, sometimes it is important to be able to add a popup presenter as a 
child of the RootPresenter. For example, say popup presenter A is the parent of 
popup presenter B, but, when A reveals presenter B it wants to hide itself. 
Right now, hiding A would hide its child B. With this proposed feature, it 
should be possible to make B a parent of RootPresenter so that its lifecycle 
isn't dependant on that of PresenterA.

Original issue reported on code.google.com by philippe.beaudoin on 16 Aug 2010 at 11:05

GoogleCodeExporter commented 9 years ago

Original comment by philippe.beaudoin on 17 Aug 2010 at 12:30