Hi! Actually no, we did not use setContent but we used modalWindow.replace(newContent);
** Martin 2010/1/27 Martin Makundi <martin.maku...@koodaripalvelut.com>: > Hi! > >> That's how I'm opening them but that's not the problem. The problem is >> once I have a ModalWindow open I want to switch the contents without the >> 'flicker' of shutting down the ModalWindow and opening up another one. > > For us we have done it just by replacing the content panel: > > modalWindow.setContent(newContent); > ajaxRequestTarget.addComponent(newContent); > > ** > Martin > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org