[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3781) Interpolator does not support {0,date,short} {0,time,short} {0,number,integer}

Norman Richards (JIRA) jira-events at lists.jboss.org
Wed Jan 14 11:58:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Richards closed JBSEAM-3781.
-----------------------------------

    Resolution: Out of Date


> Interpolator does not support  {0,date,short}  {0,time,short} {0,number,integer}
> --------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3781
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3781
>             Project: Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.3.CR1
>            Reporter: Guy Di Fulvio
>            Assignee: Norman Richards
>            Priority: Minor
>             Fix For: 2.1.2.CR1
>
>
> In the interpolate method in Interpolator, you use :
> new MessageFormat(expr.toString(), Locale.instance()).format(params);  with params = Object[0], if in the expr you have  {0,date,short} (an co) the returned value is modified in {0}.
> You may use in this case new MessageFormat(expr.toString(), Locale.instance()).toPattern(); or something like that.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list