You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Johannes Unterstein (Updated) (JIRA)" <ji...@apache.org> on 2012/02/14 16:07:59 UTC

[jira] [Updated] (WICKET-4409) Form#getJsForInterfaceUrl(..) works not correct if cookies are disabled

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

Johannes Unterstein updated WICKET-4409:
----------------------------------------

    Attachment: quickstart.zip
    
> 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
>         Attachments: quickstart.zip
>
>
> 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