>
> 1> use RedirectRequestTarget directly: RequestCycle.setRequestTarget(new
> RedirectRequestTarget(url));
>
> 2> have a RequestCycle.setResponseUrl() besides setResponsePage()
>
> 3> have a RequestCycle.redirectTo(String url)
>
>
> i am thinking just learn how to use RequestTargets so 1 (thats how wicket
> really works)
> But i can live with 2 but i am against 3.

2). Definitively against 3 as redirectTo(Page) isn't supposed to be
used by clients and the naming would thus cause confusion, and as for
1: imo the way request targets work is an advanced topic for users and
for most cases you shouldn't have to be aware of them anyway.

Eelco

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to