template::set_file (public)
template::set_file path
Defined in packages/acs-templating/tcl/parse-procs.tcl
Set the path of the template to render. This is typically used to implement multiple "skins" on a common set of data sources. The initial code (which may be in a .tcl file not associated with a .adp file) sets up any number of data sources, and then calls set_file to specify the template to actually render. Any code associated with the specified template is executed in the same stack frame as the initial code, so that each "skin" may reference additional specific data or logic as necessary.
- Parameters:
- path (required)
- The root (sans file extension) of the absolute path to the next template to parse.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set level [adp_level] upvar #$level __adp_stub file_stub set file_stub $pathXQL Not present: Generic, PostgreSQL, Oracle