You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2012/04/27 01:20:50 UTC

[jira] [Resolved] (WICKET-4518) Wicket example 'forminput' is broken due to bad url for IOnChangeListener

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

Sven Meier resolved WICKET-4518.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 6.0.0-RC1
         Assignee: Sven Meier

Url allows all kind of strange segments, so I decided to keep "./?foo" allowed. resolveRelative() now takes care to remove any leading "./", ".//" and additionally empty segments too.
                
> Wicket example 'forminput' is broken due to bad url for IOnChangeListener
> -------------------------------------------------------------------------
>
>                 Key: WICKET-4518
>                 URL: https://issues.apache.org/jira/browse/WICKET-4518
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.6
>            Reporter: Martin Grigorov
>            Assignee: Sven Meier
>             Fix For: 1.5.6, 6.0.0-RC1
>
>         Attachments: WICKET-4518-alternative.patch, WICKET-4518.patch
>
>
> http://localhost:8080/forminput (wicket-examples) doesn't change the locale of the labels when the locale select is changed.
> The reason seems to be the produced url: './.?5-1.IOnChangeListener-inputForm-localeSelect' 
> This is parsed to a Url with one empty segment and thus HomePageMapper doesn't match it and doesn't handle it.

--
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