[jboss-dev-forums] [Design of JBoss ESB] - Re: Smooks + Freemarker: building tree structure

ama1 do-not-reply at jboss.com
Fri Apr 10 07:56:32 EDT 2009


ok, I found a workaround on this page:
http://freemarker.org/docs/dgui_misc_userdefdir.html

This example:

  | <#macro test foo>${foo} (<#nested>) ${foo}</#macro>
  | <@test foo="A"><@test foo="B"><@test foo="C"/></@test></@test>

I call it workaround till I have to template my full tree structure in the template. Fortunatley I have "only" 9 tree-levels, so it looks not nice but it works ;-)


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224877#4224877

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224877



More information about the jboss-dev-forums mailing list