Hi, thanks for help. I ended with very similar solution.
2011/11/9 Andrea Del Bene <[email protected]> > Hi, > > I think the best solution would be replace modal window's content instead > of closing it and opening a new one. Considering your example you should > completely remove notifierWindow. The new code for HomePage would be like > this: > > public HomePage(final PageParameters parameters) { > > final ModalWindow homeWindow = new ModalWindow("modal"); > final FeedbackPanel notifier = new FeedbackPanel(homeWindow.** > getContentId()); > notifier.setOutputMarkupId(**true); > > final HomePanel homePanel = new HomePanel(homeWindow.**getContentId()) > { > > @Override > public void performAction(**AjaxRequestTarget target) { > replaceWith(notifier); > target.addComponent(notifier); > //homeWindow.close(new AjaxRequestTarget(getPage())); > // notifierWindow.show(target); > > } > }; > //the same code > .... > > > Hope this could help you. > > Hi, >> >> I uploaded quickstart that reproduces error to github at >> https://github.com/iref/**modaltest <https://github.com/iref/modaltest> . >> >> 2011/11/2 Andrea Del Bene<[email protected]> >> >> Hi, >>> >>> can you reproduce your problem in a separate project and upload it >>> somewhere? It would help much to understand if this problem is a bug and >>> to >>> find a solution. >>> >>> ------------------------------****----------------------------** >>> --**--------- >>> To unsubscribe, e-mail: >>> users-unsubscribe@wicket.**apa**che.org<http://apache.org> >>> <users-unsubscribe@**wicket.apache.org<[email protected]> >>> > >>> >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@wicket.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > > -- Jan Ferko, [email protected]
