wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Panel replacement and "No Page found for component"
Date Thu, 25 Apr 2013 10:27:06 GMT
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 <bht237@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message