There is onError on for example AjaxSubmitButton, but that method is
meant to be triggered when validation fails.
IMHO the most logical thing would be that there is a redirect exactly as
with a normal failing request.
Regards,
Erik.
Johan Compagner schreef:
> i thought we had support for that that you could just set the response
> page in an ajax request
> and then the ajax request would redirect to that page.
> But i can't find support for this anymore.
> Matej? Eelco?
>
> johan
>
>
> On 11/30/06, *Erik van Oosten* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Okay great, that works. I would not have found that myself.
>
> Now I also would like to redirect to the error page when an _Ajax_
> request fails.
> Currently I have some javascript that triggers when the request
> fails,
> but that way the exception is lost.
>
> Thanks,
> Erik.
>
--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user