You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (Commented) (JIRA)" <ji...@apache.org> on 2012/03/10 15:13:00 UTC

[jira] [Commented] (DELTASPIKE-119) review and discuss 18n module

    [ https://issues.apache.org/jira/browse/DELTASPIKE-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226863#comment-13226863 ] 

Gerhard Petracek commented on DELTASPIKE-119:
---------------------------------------------

important features/concepts of the i18n module of myfaces codi:
- Serializable messages
- transfer messages and resolve the final text for a different context (locale,…)
- custom message types
- creating messages via builder pattern
- numbered message arguments
- named message arguments
- el support
- message payload -> allows to control processing of the message (via custom impl. of different SPIs) – similar to payload in bean-validation
- add message to the current context (which depends on the producer of the context – e.g. allows to create and add faces-messages behind the scenes – in case of the message context produced in the jsf-module for the jsf qualifier)
- config for a message context
- message context (config) is immutable to avoid side-effects
- clone a message context to use the same config but it’s possible to change it before the new context gets created (and is immutable)
- message resolver to support different message-sources
- message interpolator
- locale resolver
- formatter to allow to format argument-values for the final message text (similar to a converter -> we can think about merging the concepts)
- factories to customize the default behaviour
- allows multi-tenant support
                
> review and discuss 18n module
> -----------------------------
>
>                 Key: DELTASPIKE-119
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-119
>             Project: DeltaSpike
>          Issue Type: Task
>    Affects Versions: 0.1-incubating
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 0.3-incubating
>
>
> the first step is to review the modules of myfaces codi and seam3

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