Re: setResponsePage() and mounted URLs

2009-04-05 Thread Johan Compagner
() { if(somethingIsTrue){ setResponsePage(StatelessPage1.class); }else{ setResponsePage(StatelessPage2.class); } } }); Can someone put me on the right path to using mounted URLs with setResponsePage()? Matt

Re: setResponsePage() and mounted URLs

2009-04-05 Thread Matt Welch
jcompagner-2 wrote: what happens if you try this: add(new StatelessLink(statelessPage1 ) { public void onClick() { setResponsePage(StatelessPage1.class); RequestCycle.get().setRedirect(true) } While the link on the original page is still

setResponsePage() and mounted URLs

2009-04-04 Thread Matthew Welch
){ setResponsePage(StatelessPage1.class); }else{ setResponsePage(StatelessPage2.class); } } }); Can someone put me on the right path to using mounted URLs with setResponsePage()? Matt

Re: setResponsePage() and mounted URLs

2009-04-04 Thread Igor Vaynberg
URLs with setResponsePage()? Matt - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org