You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Adrian Sandor (JIRA)" <ji...@apache.org> on 2008/10/25 19:40:44 UTC

[jira] Updated: (WICKET-1897) StatelessForm submitted to the wrong page

     [ https://issues.apache.org/jira/browse/WICKET-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Sandor updated WICKET-1897:
----------------------------------

    Attachment: wickettest.zip

> StatelessForm submitted to the wrong page
> -----------------------------------------
>
>                 Key: WICKET-1897
>                 URL: https://issues.apache.org/jira/browse/WICKET-1897
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>         Attachments: wickettest.zip
>
>
> I made a small application to reproduce the problem. You can download it from http://aditsu.net/wickettest.zip , I'll try to attach it too.
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.