Panel replacement and No Page found for component

2013-04-25 Thread Bernard
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

Re: Panel replacement and No Page found for component

2013-04-25 Thread Martin Grigorov
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

Re: Panel replacement and No Page found for component

2013-04-25 Thread Bernard
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