I am making a tree view, the layout for each node is in a template. I would
like to use this template recursively to generate all of a given node's
children and their children etc.... I would also like to keep all Perl code
out of the template and use only TT constructs (not the ones that allow you
to include Perl of course). The way I see fit is to put the node's template
in an file and include it inside a for loop, it would then call its self
at each iteration passing in the proper args. This doesnt sit to well with
me, especially considering a node with a big family. Is there a better way
to achieve this? Does anyone see other problems with this method?
Thanks.
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates