Re: setResponsePage chaining

2009-10-29 Thread Ryan
s-h...@wicket.apache.org >>> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> >> > >--

Re: setResponsePage chaining

2009-10-28 Thread bgooren
-- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/setResponsePage-chaining-tp26099119p26104397.html Sent from the Wicke

Re: setResponsePage chaining

2009-10-28 Thread Ryan
Throwing RestartResponseException works as expected, but I'm still not sure if the setResponsePage behavior is correct... On Wed, Oct 28, 2009 at 11:52:09AM -0600, Ryan exclaimed: >If you have a page,P1, with a form which has an onSubmit() that calls >setResponsePage(new P2()) and the constructor

setResponsePage chaining

2009-10-28 Thread Ryan
If you have a page,P1, with a form which has an onSubmit() that calls setResponsePage(new P2()) and the constructor in P2 calls setResponsePage(new P3()) the page that is rendered is P2. However, P3 is rendered if the onSubmit calls setResponsePage(P2.class) and the P2 constructor calls setRespons