Re: Handling exceptions during render

2008-11-04 Thread aditsu
! -- 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

Re: Handling exceptions during render

2008-11-04 Thread aditsu
). 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

Re: Handling exceptions during render

2008-11-04 Thread aditsu
: 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

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
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

Re: Handling exceptions during render

2008-11-03 Thread aditsu
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

Re: Handling exceptions during render

2008-11-03 Thread aditsu
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

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
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

Re: Handling exceptions during render

2008-11-03 Thread Erik van Oosten
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

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
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

Handling exceptions during render

2008-11-03 Thread aditsu
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

Re: Handling exceptions during render

2008-11-03 Thread aditsu
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

Re: Handling exceptions during render

2008-11-03 Thread Erik van Oosten
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

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
: 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