[ https://issues.apache.org/jira/browse/WICKET-4518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262686#comment-13262686 ]
Martin Grigorov commented on WICKET-4518: ----------------------------------------- Urls like '././././././some/thing/meaningful' should be treated as 'some/thing/meaningful' so I suggest using 'while' instead of 'if'. Code that manipulates strings has always been one of my nightmares so feel free to improve it as you find better. > 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 > Fix For: 1.5.6 > > 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