[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3781) Interpolator does not support {0,date,short} {0,time,short} {0,number,integer}
Guy Di Fulvio (JIRA)
jira-events at lists.jboss.org
Thu Dec 4 02:48:46 EST 2008
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
Priority: Minor
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