You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by aditsu <ad...@yahoo.com> on 2008/10/23 11:05:08 UTC

Problem with a stateless form

Hi, I made a small application to reproduce the problem. You can download it
from http://aditsu.net/wickettest.zip
Dependencies: jetty 6, wicket 1.4-m3, slf4j, log4j
Steps to reproduce:
1. Run the test.Start class
2. Open http://localhost:8080 in a browser
3. Open http://localhost:8080/page2 in a new tab
4. Go to the first tab and click submit

Result:

WicketRuntimeException: unable to find component with path form on stateless
page [Page class = test.Page2, id = 0, version = 0]

It looks like the 2 pages are created with the same id in 2 different
pagemaps, but when I submit the form, it goes to the second pagemap and
finds the second page (with no form on it). Bug?

-- 
View this message in context: http://www.nabble.com/Problem-with-a-stateless-form-tp20127191p20127191.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Problem with a stateless form

Posted by Ilja <ki...@gmail.com>.
Aditsu,
I have the same problem, with the same error message:  Wicket is trying to
find a form on a different page.

How did you (or anyone else) work around it?

Thanks,

ilja

p.s. my error message (trying to find the form in the wrong page):
org.apache.wicket.WicketRuntimeException: unable to find component with path
form on stateless page [Page class =
com.[mydomain].web.pages.access.AuthCodeValidatePage, id = 46, version = 0]
it could be that the component is inside a repeater make your component
return false in getStatelessHint()

On Sat, Oct 25, 2008 at 9:41 AM, aditsu <ad...@yahoo.com> wrote:

>
> I filed WICKET-1897 about this problem
> --
> View this message in context:
> http://www.nabble.com/Problem-with-a-stateless-form-tp20127191p20166277.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Problem with a stateless form

Posted by aditsu <ad...@yahoo.com>.
I filed WICKET-1897 about this problem
-- 
View this message in context: http://www.nabble.com/Problem-with-a-stateless-form-tp20127191p20166277.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org