[jboss-dev-forums] [Design of JBoss ESB] - Smooks + Freemarker: building tree structure
ama1
do-not-reply at jboss.com
Thu Apr 9 05:11:05 EDT 2009
Hi,
I am using smooks with a virtual model, which is made of a map with an element childs, which contains a list of maps.
Those maps are my with smooks binded java beans.
Now I want to create a xml output like this:
| <abc>
| <.../>
| <childs>
| <abc>
| <.../>
| <childs>
| and so on
| </childs>
| </childs>
| </abc>
|
Unfortunatley I was not able to build up some recusive construct with freemarker. I try with the macros but that didn't work.
Does anyone has an idea how to solve this?
A confirmation that tree structures are not possible with smooks+freemarker would help also.
Thanks a lot,
Patrick
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224593#4224593
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224593
More information about the jboss-dev-forums
mailing list