You can call another template from within the template you specified in
the stash, and pass the stash parameters along.  I don't use TT, but I
think PROCESS is how you call other templates.
 
HTH
 
Byron

________________________________

From: Emily Heureux [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2008 2:36 PM
To: 'The elegant MVC web framework'
Subject: [Catalyst] sending a variable to more than one tt2 template



Hi, I have a variable in a Controller method sent to the stash for a
particular tt file.  What if I want that same variable to be available
to another tt file?  I assume I cannot set two templates in one method.

 

Thanks,

Emily

 

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to