Thank you , it's almost done.
But it still have problems :
Calling setResponsePage() at the end of onBeforeRender() not working.
How to solve it ?
2008/2/25, Kent Tong <[EMAIL PROTECTED]>:
>
> smallufo <smallufo <at> gmail.com> writes:
>
> > I just need to redirect.
> > If bbAuth token is correct , then set correct Wicket Session and
> redirect to
> > proper page.
> > If incorrect , then redirect to another page.
>
>
> To redirect, try:
>
> public class P1 extends WebPage {
> @Override
> protected void onBeforeRender() {
> super.onBeforeRender();
> throw new RestartResponseException(P2.class);
> }
>
> }
>