I fixed it using setResponsePage(). I though that that would do a redirect (what I didn't wanted), but it didn't, so it's solved :)
Jeremy Thomerson-5 wrote: > > redirect to intercept page doesn't have to go to a non-bookmarkable > page... > just redirect to Page.class rather than new Page(). > > On Wed, Mar 4, 2009 at 7:32 PM, Prag <pragprog...@gmail.com> wrote: > >> >> Is it possible to render a different pageClassB when pageClassA is >> called, >> while maintaining the same URL? >> Using redirectToInterceptPage will send and redirect to a >> non-bookmarkable >> session url, and thus isn't an option. >> >> So is it possible to render/switch from different .html files fom the >> same >> PageClass? >> >> In an action (MVC push) webframework, you could simply specify and >> forward >> to a different view file without any HTTP redirect and within the same >> HTTP >> request, but how can you do this in Wicket while keeping the same URL? >> -- >> View this message in context: >> http://www.nabble.com/Forward-to-a-different-page%2C-but-same-URL-tp22343544p22343544.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > > -- > Jeremy Thomerson > http://www.wickettraining.com > > -- View this message in context: http://www.nabble.com/Forward-to-a-different-page%2C-but-same-URL-tp22343544p22343847.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org