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);
        }

}
--
Kent Tong
Wicket book with free chapters at http://www.agileskills2.org/EWDW



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to