in case what error though?

respond() is called after all events have been processed

so these are only types of errors that are render errors - like you have a
component with the wrong id or something

you can handle errors like that with wicket's javascript error hook

-igor


On 2/22/07, Oscar Bueno <[EMAIL PROTECTED]> wrote:


I'm using the AjaxRequestTarget to replace a wizard panel, in case of
error,
I would display an errors panel instance of the original panel.

I have created a jira issue:
https://issues.apache.org/jira/browse/WICKET-313

Oscar.


igor.vaynberg wrote:
>
> whats the usecase btw? what are you going to do with that exception?
those
> are only render-time exceptions, dont see what use they are to you
>
> -igor
>
>
> On 2/22/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>
>> irequesttarget.respond doesnt declare it throws any exceptions, so we
>> would need to refactor ajaxrequesttarget.respond into some protected
>> method.
>>
>> add a jira issue
>>
>> -igor
>>
>>
>> On 2/21/07, Oscar Bueno <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > Hi,
>> >
>> > Now the respond method of the AjaxRequestTarget is caching all the
>> > RuntimeExceptions that are throwed.  I would prefer to handle this
>> > exceptions by myself.  I have a requestTarget that is a wrapper of
the
>> > wicket AjaxRequestTarget where we could made something in case of
>> errors
>> > in
>> > the respond method of the AjaxRequestTarget.
>> >
>> > Oscar.
>> > --
>> > View this message in context:
>> >
>>
http://www.nabble.com/AjaxRequestTarget-respond-exception-handling-tf3271255.html#a9095216
>> > Sent from the Wicket - Dev mailing list archive at Nabble.com.
>> >
>> >
>>
>
>

--
View this message in context:
http://www.nabble.com/AjaxRequestTarget-respond-exception-handling-tf3271255.html#a9108547
Sent from the Wicket - Dev mailing list archive at Nabble.com.


Reply via email to