You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/11/25 06:08:17 UTC
[jira] Resolved: (WICKET-3185) The inconsistency in a localization
of enums between DropDownChoice and EnumLabel
[ 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.