if you call setResponsePage(Class) then wicket generates a bookmarkable url (mounted or not)
and that url has enough information to reconstruct the page when you do a refresh in the browser. Internally if you have a form or links on them (which are not stateless) the links target that specific instances that is created by the bookmarkable url johan On Fri, Aug 15, 2008 at 3:37 PM, miro <[EMAIL PROTECTED]> wrote: > > Its not just about redirect please help me understand how things work when > I > call setResponsePage() just few details on how it actually finds the url > for the class I pass in setRespopnsePage() ? > > jwcarman wrote: > > > > If you want it to redirect, call setRedirect(true) on the request cycle. > > > > On Fri, Aug 15, 2008 at 9:29 AM, miro <[EMAIL PROTECTED]> wrote: > >> > >> please help me understand how this url works. > >> I have a form, the on submit method calls setResponsePage(foo.class) , > >> So when a user submits the form my onSubmit method gets called and i > end > >> method with setResponsePage(), after this what happens ? > >> where the control goes, how wicket tries to look up the class and where > >> it > >> generates the url does it know whether to redirect or forward please > >> help > >> me understand this . > >> -- > >> View this message in context: > >> > http://www.nabble.com/very-confused-with-url-wicket-is-generating-tp18998651p18998651.html > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> 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] > > > > > > > > -- > View this message in context: > http://www.nabble.com/very-confused-with-url-wicket-is-generating-tp18998651p18998783.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >