I know how to show the exception in a feedback panel. But how to make the
popup dependent on the results of submission
You could add the errorWindow to your page and in your catch you can show it. But it's only working with ajax.

add errorWindow to markup and in class.

try {
 exceptionalCode();
} catch (TheExpectedException e) {
 errorWindow.setModel(new Model(e));
 errorWindow.show();
}

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to