just a RestartResponseException will do -igor
On Tue, Jun 16, 2009 at 12:34 PM, Jeremy Thomerson<[email protected]> wrote: > public class MyPage extends Page { > > public MyPage() { > if (condition1) { > throw new RestartResponseAtInterceptPage(Page1.class); > } else if (condition2) > throw new RestartResponseAtInterceptPage(Page2.class); > } > > throw new RestartResponseAtInterceptPage(Home.class); > > } > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Tue, Jun 16, 2009 at 2:29 PM, tubin gen<[email protected]> wrote: >> I want to use redirect page to redirect , In my case depending on a >> condition I should redirect to different pages , if condition is true then >> opage1 if false page 2 can I implement this using redirect page ? If not >> whats the other alternative ? >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
