You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2011/05/29 00:52:47 UTC

[jira] [Created] (EXTCDI-193) messageContext support in el-expressions

messageContext support in el-expressions
----------------------------------------

                 Key: EXTCDI-193
                 URL: https://issues.apache.org/jira/browse/EXTCDI-193
             Project: MyFaces CODI
          Issue Type: New Feature
          Components: JEE-JSF12-Module, JEE-JSF20-Module
    Affects Versions: 0.9.5
            Reporter: Gerhard Petracek
            Assignee: Gerhard Petracek


it should be possible to use e.g.:

#{messageContext['msgKey'].toText}
#{messageContext['msgKey'].toMessage}

and e.g.:
msgUserRegistered1=User {0} registered successfully!
msgUserRegistered2=User {userName} registered successfully!

#{messageContext['msgUserRegistered1'][registrationPage.user.userName].toText}
#{messageContext['msgUserRegistered2']['userName:#{registrationPage.user.userName}'].toText}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (EXTCDI-193) messageContext support in el-expressions

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved EXTCDI-193.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0

> messageContext support in el-expressions
> ----------------------------------------
>
>                 Key: EXTCDI-193
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-193
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: JEE-JSF12-Module, JEE-JSF20-Module
>    Affects Versions: 0.9.5
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 1.0.0
>
>
> it should be possible to use e.g.:
> #{messageContext['msgKey'].toText}
> #{messageContext['msgKey'].toMessage}
> and e.g.:
> msgUserRegistered1=User {0} registered successfully!
> msgUserRegistered2=User {userName} registered successfully!
> #{messageContext['msgUserRegistered1'][registrationPage.user.userName].toText}
> #{messageContext['msgUserRegistered2']['userName:#{registrationPage.user.userName}'].toText}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira