Hi,
I am developing a web site based on CGI::Application and utilising
Template::Toolkit
I am using Template:Toolkit via the CGI:Application plugin
CGI::Application::Plugin::AnyTemplate because I want to utilise its
syntax for embedding components.
I want to develop and visualise the output from my templates
independently of my web application. That's drawn me to ttree.
Here's the rub...
If I'm using embedded components, then the syntax is something like:
[% CGIAPP.embed("some_run_mode", param1, param2, 'literal string3') %]
That should work in my web application, but when I'm using ttree to
visualise the output from my templates, I want ttree to do something
like an INCLUDE of the template file that corresponds to my embedded
component run mode.
Does anybody know how I can achieve that.
Thanks,
Dave
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates