Opening a new modal window when OK is clicked on currently open modal window

2010-06-03 Thread Chris Colman
Is it possible to replace the currently open Modal window with a different modal window from within the OK click handler of the currently open modal window? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Opening a new modal window when OK is clicked on currently open modal window

2010-06-03 Thread Istvan Jozsa
Yes, by opening the second window *when* the first is closed. Try something like this: abstract class Modal1 extends ModalWindow { public Modal1(id) { // ... setWindowClosedCallback(new ModalWindow.CloseButtonCallback() { @Override public void