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

Igor Vaynberg resolved WICKET-3185.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

in your ddc generate the display value in the same format as keys expected by 
the enum label

> The inconsistency in a localization of enums between DropDownChoice and 
> EnumLabel
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-3185
>                 URL: https://issues.apache.org/jira/browse/WICKET-3185
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Vitaly Tsaplin
>            Assignee: Igor Vaynberg
>
> It seems there is an inconsistency in the way DropDownChoice (with
> localizeDisplayValues overriden to return true) and EnumLabel localize they
> values. DropDownChoice uses toString only and EnumLabel uses toString + enum
> class name which makes us either have two keys for the same value in a 
> property file or
> override EnumLabel.resourceKey.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to