Form#getJsForInterfaceUrl(..) works not correct if cookies are disabled
-----------------------------------------------------------------------

                 Key: WICKET-4409
                 URL: https://issues.apache.org/jira/browse/WICKET-4409
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.4
            Reporter: Johannes Unterstein


When using a Checkbox with wantOnSelectionChangedNotifications() = true, the 
rendered onClick action is not correct because the ";" of the 
"..;jsessionid=.." is rendered as "%3Bjsessionid=..." and therefore the 
onSelectionChanged(..) method is not called.

The reason for this missbehavior is that in the Form Class, Line 529 "url = 
renderer.renderUrl(Url.parse(url.toString()));" returns the %3B representation 
of the ";". This leads to the behavior that the MountedMapper can not find the 
according page for this request because the application thinks that the mounted 
page path is  "myPath%3Bjsessionid=..." and not "myPath".


You can reproduce this behavior in the attached quickstart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to