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 <[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to