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 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 setResponsePage(P3.class). > >Is this a bug or am I missing something? > >Thanks, >Ryan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org