s-h...@wicket.apache.org
>>>
>>
>> -
>> 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
>
>
>
--
View this message in context:
http://www.nabble.com/setResponsePage-chaining-tp26099119p26104397.html
Sent from the Wicke
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
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