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

Gavin King (JIRA) jira-events at lists.jboss.org
Wed Feb 28 15:07:09 EST 2007


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
             Fix For: 1.2.1.GA


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