[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2197) interpolate swallows FormatType and FormatStyle of MessageFormat

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Jan 29 08:31:03 EST 2008


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

Pete Muir updated JBSEAM-2197:
------------------------------

    Fix Version/s: 2.1.0.GA
                       (was: 2.0.2.GA)

> interpolate swallows FormatType and FormatStyle of MessageFormat
> ----------------------------------------------------------------
>
>                 Key: JBSEAM-2197
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2197
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0.CR2
>         Environment: Application Server: jboss-4.2.0.GA
> Operating System: Windows XP
> Java: 1.6
>            Reporter: Martin Trummer
>             Fix For: 2.1.0.GA
>
>
> Testcode:
> String source = "{0,number,#.#}";
> String interpolated = Interpolator.instance().interpolate(source);
> System.out.println("soruce: '"+source+"'");
> System.out.println("interpolated: '"+interpolated+"'");
> Output is:
> 17:02:00,133 INFO [STDOUT] soruce: '{0,number,#.#}'
> 17:02:00,133 INFO [STDOUT] interpolated: '{0}' 
> Expected output:
> 17:02:00,133 INFO [STDOUT] soruce: '{0,number,#.#}'
> 17:02:00,133 INFO [STDOUT] interpolated: '{0,number,#.#}'
> The interpolate() function should not swallow the FormatType and FormatStyle.
> Details can be found in the Forum Discussion

-- 
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