!
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20327592.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
).
Anyway, I want to have the option to catch exceptions from child components
at certain points that I can define. And I think I got a new idea..
involving replace and RestartResponseException
Adrian
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render
:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20336613.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
rendering any unknown component or
child component. Such as a getObject method from a model throwing a
runtime exception.
Adrian
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20302542.html
Sent from the Wicket - User mailing list
RuntimeException e) {
//do something
return null;
}
}
}
[/CODE]
Alex Objelean
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20302703.html
Sent from the Wicket - User mailing list archive at Nabble.com
to override default
RequestCycle (newRequestCycle method) in your application class and
override private Page handleRuntimeException(final Page page, final
RuntimeException e) method.
Alex Objelean
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render
in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20302752.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
It won't. I think you have to dig deeper into the request rendering.
Perhaps that overriding MarkupContainer#renderAll on all your Panels
that have expected exceptions will help.
But then again, exceptions are intended for controlling the
non-expected. You should not use exceptions for
this message in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20302777.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
unknown component or
child component. Such as a getObject method from a model throwing a runtime
exception.
Adrian
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20301737.html
Sent from the Wicket - User mailing list archive at Nabble.com
the rest of the page?
--
View this message in context:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20303184.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
Yeah, I was afraid it would come to that.
Sorry, you've apparently done some more research already...
Another thing I sometimes do is take the Wicket class and put it in the
web-project's classpath but with my changes (e.g. remove a final). All
servlet containers will load earlier from the
:
http://www.nabble.com/Handling-exceptions-during-render-tp20301737p20310197.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
13 matches
Mail list logo