[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-5251) Tamplating target format <param> elements getting added in wrong part of the <ftl:freemarker> config

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Tue Nov 24 05:46:30 EST 2009


Tamplating target format <param> elements getting added in wrong part of the <ftl:freemarker> config
----------------------------------------------------------------------------------------------------

                 Key: JBIDE-5251
                 URL: https://jira.jboss.org/jira/browse/JBIDE-5251
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: smooks
            Reporter: Tom Fennelly
             Fix For: 3.1.0.CR1


I started with the json-to-java example (from the smooks project) and tried adding an Apply Template node (target type CSV).  Immediately after adding the node (before adding any mappings) the source for the <ftl:freemarker> config looked like:

<flt:freemarker applyOnElement="#document"> 
    <flt:template>
        <param name="messageType">CSV</param>
        <param name="quote">"</param>
        <param name="seperator">,</param>
        <param name="csvFields">a,b,c</param>
    </flt:template>  
    <param name="id">freemarker0</param> 
</flt:freemarker>  

Should look like:
<flt:freemarker applyOnElement="#document"> 
    <flt:template></flt:template>  
    <param name="id">freemarker0</param> 
    <param name="messageType">CSV</param>
    <param name="quote">"</param>
    <param name="seperator">,</param>
    <param name="csvFields">a,b,c</param>
</flt:freemarker>  




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