Throw the exception(RestartResponseAtInterceptPageException) on which Page?
Again after I throw it should I catch it and setResponsePage again? Thanks, Franklin. Martijn Dashorst wrote: > > throw new RestartResponseAt....Exception(new PageB) > Martijn > > On Dec 1, 2007 1:16 PM, Franklin Antony <[EMAIL PROTECTED]> wrote: > >> >> Dear All, >> I have three pages. Page A,Page B,Page C. The use case is as follows >> >> When I click the onSubmit of Page A(has a form) I setResponse to Page B. >> Page B already has forms and buttons and many other components in it. Now >> on >> Page B i want to dynamically redirect to Page C under certain situations. >> To >> make the whole story short, I want to bypass Page B(it shouldnt render) >> and >> go to Page C. >> >> I tried out RequestCyle.redirectTo and also call setResponsePage but >> didnt >> work. Could someone please help? >> >> Thanks, >> Franklin. >> -- >> View this message in context: >> http://www.nabble.com/Dynamic-Page-Redirection-tf4928005.html#a14104658 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Buy Wicket in Action: http://manning.com/dashorst > Apache Wicket 1.3.0-rc1 is released > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/ > > -- View this message in context: http://www.nabble.com/Dynamic-Page-Redirection-tf4928005.html#a14105265 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
