You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Olivier Croisier (JIRA)" <ji...@apache.org> on 2009/11/11 18:41:39 UTC

[jira] Updated: (WICKET-1157) Generic internationalization for Enums

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

Olivier Croisier updated WICKET-1157:
-------------------------------------

    Attachment: Enums.patch

Here is a patch that adds some nice Enum-I18N capabilities to Wicket.

It contains :
- An EnumMessageKeyProvided that implements a Strategy pattern to generate I18N keys from enums.
- An EnumDropDownChoice to render HTML <select> components
- An EnumModel to internationalize any enum provided by another Model

> Generic internationalization for Enums
> --------------------------------------
>
>                 Key: WICKET-1157
>                 URL: https://issues.apache.org/jira/browse/WICKET-1157
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 1.4-M1
>            Reporter: Bruno Borges
>             Fix For: 1.5-M1
>
>         Attachments: EnumDropDownChoice.java, EnumLabel.java, Enums.patch
>
>
> Support internationalization for Enums for any Component in the future (Wicket's Java 5+ version). I attached two components that does this independently. But maybe it would be a good idea  to abstract this.

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