hi, 

i have few pre-generated html files(not a complete
html) that i want to include in my other template
dynamically based on user request. such as:

[% INCLUDE header.tt %] 
[% INCLUDE html/$foo %]
...
...
[% INCLUDE footer.tt %]

i would pass {foo => "foo.html"} to the template.. how
do i do that in TT ? 

another question: how to write the following
correctly? 
[% "<input type='hidden' name='matched_cols' value='[%
inputs.values.join(',')' %]>" IF inputs %]

the quote is causing problem..

thanks.

James.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to