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: [email protected]
For additional commands, e-mail: [email protected]