Hi Renaud,
here is some of my code... let me know if u need any more infos.
Its a presentWidget that is used 1x as a popup and 1x as a component in two different places.
URL /#place1 - used as popup
@Inject
PopupPresenter popup;
@Inject
TimeregistrationPresenter timeregistrationPresenter;
On click events the popup is opened/closed:
popup.setInSlot(PopupPresenter.SLOT_content, timeregistrationPresenter);
addToPopupSlot(popup);
and
popup.getView().hide();
URL /#place2 - used as part of the place
// thats a presenter wiget that resuses the TimeregistrationPresenter class from above
@Inject
TimeregistrationWithListPresenter timeregistrationPresenter;
and in onReveal:
setInSlot(SLOT_Content, timeregistrationPresenter);
Let me know if you like to see anything specific.
Kinds regards,
Manuel