RequestCycle.get().setRequestTarget(new FooRequestTarget(...));

or
throw new RestartResponseException(...);

Martijn

On 6/1/07, cram <[EMAIL PROTECTED]> wrote:
>
> I'd like to be able to redirect from inside of a (File)ResourceStream to a
> specific url or page instead of throwing an exception under certain
> circumstances (ie, if data does not load, etc).
>
> Is this possible? I haven't had much luck setting the responsePage via
> RequestCycle.get().setResponsePage(new ErrorPage())
>
> etc.
>
> Any suggestions?
>
> Thanks.
> --
> View this message in context: 
> http://www.nabble.com/Is-there-a-way-to-redirect-to-a-page-from-inside-a-resource--tf3854509.html#a10920640
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-- 
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.6 contains a very important fix. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to