Panel replacement and No Page found for component
Hi, My form with multiple buttons replaces its parent panel at the end of the button's onSubmit(). But after onSubmit(), the StateLessForm's process() method calls getPage() with the result of a RuntimeException No Page found for component. I use StatelessForm because I want the page to be stateless with it in most cases but in other cases the page should become stateful. Any ideas? Many thanks, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Panel replacement and No Page found for component
Hi, I don't see another solution but to copy/paste StatelessForm code in your own class until Wicket 6.8.0 and use #findPage() instead of #getPage(). File a ticket for improvement. On Thu, Apr 25, 2013 at 1:13 PM, Bernard bht...@gmail.com wrote: Hi, My form with multiple buttons replaces its parent panel at the end of the button's onSubmit(). But after onSubmit(), the StateLessForm's process() method calls getPage() with the result of a RuntimeException No Page found for component. I use StatelessForm because I want the page to be stateless with it in most cases but in other cases the page should become stateful. Any ideas? Many thanks, Bernard - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Panel replacement and No Page found for component
Thanks. Will do. On Thu, 25 Apr 2013 13:27:06 +0300, you wrote: Hi, I don't see another solution but to copy/paste StatelessForm code in your own class until Wicket 6.8.0 and use #findPage() instead of #getPage(). File a ticket for improvement. On Thu, Apr 25, 2013 at 1:13 PM, Bernard bht...@gmail.com wrote: Hi, My form with multiple buttons replaces its parent panel at the end of the button's onSubmit(). But after onSubmit(), the StateLessForm's process() method calls getPage() with the result of a RuntimeException No Page found for component. I use StatelessForm because I want the page to be stateless with it in most cases but in other cases the page should become stateful. Any ideas? Many thanks, Bernard - 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