Hi,

I am quite new to template toolkit.
I a trying to include a template into another one and use 
PROCESS to do it.

my first template (A) has some html code
my second template (B) has some html code too.

This how I try to use it:

A:
===

<html>
...
[% FOREACH foo IN bar %]
..
[% PROCESS B item = foo.items %]
...

[% END %]
...
</html>

B:
===

[% FOREACH i IN item %]

[% i.name %]

[% END %]


However, doing it this way, it returns nothing at all, not 
even the HTML code produced before the PROCESS directive.
I know, from the Manual, that it is possible to pass some 
parameters to PROCESS.

So I wonder if I am doing something wrong?
Can somebody help me?

Thanks a lot

E.

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to