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

Xue Peng (JIRA) jira-events at lists.jboss.org
Wed Nov 25 09:38:30 EST 2009


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

Xue Peng commented on JBIDE-5251:
---------------------------------

Look at JBIDE-5258 , I have attach a patch for it and the patch can resolve this issue

> Templating 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: Bug
>          Components: smooks
>            Reporter: Tom Fennelly
>            Assignee: Xue Peng
>             Fix For: 3.1.0.CR1
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> 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