[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-960) Support printf format in Interpolator

Gavin King (JIRA) jira-events at lists.jboss.org
Thu Mar 1 04:04:08 EST 2007

     [ http://jira.jboss.com/jira/browse/JBSEAM-960?page=all ]

Gavin King updated JBSEAM-960:

    Fix Version/s:     (was: 1.2.1.GA)
         Assignee:     (was: Shane Bryzak)

Hum, harder than I thought.

> Support printf format in Interpolator
> -------------------------------------
>                 Key: JBSEAM-960
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-960
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>            Reporter: Gavin King
> Currently we support the old-style java.text.MessageFormat formatting. We should really support java.util.Formatter instead. And we should try to allow EL-ish stuff in there. I propose:
> positional, with no formatting: #2
> positional, with formatting:       %2$tY
> EL, with no formatting:             #{user.name}
> EL, with formatting:                  %{user.birthdate}$tY

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


More information about the seam-issues mailing list