[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5293) Need way to control FreeMarker template variable formatting

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Mon Nov 30 05:55:35 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12497162#action_12497162 ] 

Tom Fennelly commented on JBIDE-5293:
-------------------------------------

That's perfect Dart.... I'm referring to a different issue... 

I think we need to pass an additional parameter to the TemplateBuilder.addValueMapping() method, indicating the type of the source property being mapped.  The template builder can then use that info when building the template, to add FreeMarker built-in directives to the variables.

> Need way to control FreeMarker template variable formatting
> -----------------------------------------------------------
>
>                 Key: JBIDE-5293
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5293
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: smooks
>            Reporter: Tom Fennelly
>            Assignee: Tom Fennelly
>             Fix For: 3.1.0.CR1
>
>
> Need to stop FreeMarker from formatting e.g. numeric 123456 as "123,456".
> Might need to include src data type param in the value mappings.

-- 
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 jbosstools-issues mailing list