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

Sven Meier resolved WICKET-4662.
--------------------------------

    Resolution: Fixed

See WICKET-3753.
                
> StringResourceModel interpolation in resource key is broken
> -----------------------------------------------------------
>
>                 Key: WICKET-4662
>                 URL: https://issues.apache.org/jira/browse/WICKET-4662
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Sven Meier
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 6.0.0, 1.5.8
>
>
> Having:
>   new StringResourceModel("details.disabled.${disabled}", this.model)
> ... and isDisabled returns a boolean naturally.
> In Wicket 1.5, the StringResourceModel now does some heavier processing on 
> the key, thus the boolean value is converted first using the registered 
> converter and then inserted into the resource key; resulting in keys like 
> "details.disabled.yes" or "details.disabled.ja" etc which are even language 
> dependent!

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