template::list::render_row (private)
template::list::render_row -name name
Defined in packages/acs-templating/tcl/list-procs.tcl
Render one row of a list template.
- Switches:
- -name (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set level [template::adp_level] # Get an upvar'd reference to list_properties get_reference -name $name set __adp_output $list_properties(row_template) # compile the template (this is the second compilation, if we're using a dynamic template -- I think) set __list_code [template::adp_compile -string $__adp_output] # Get the multirow upvar'd to this namespace template::multirow upvar $list_properties(multirow) # Upvar other variables passed in through the pass_properties property foreach var $list_properties(pass_properties) { upvar #$level $var $var } # Get the list definition upvar'd to this namespace upvar #$level [get_refname -name $name] [get_refname -name $name] foreach element_ref $list_properties(element_refs) { upvar #$level $element_ref $element_ref } # evaluate the code and return the rendered HTML for the list set output [template::adp_eval __list_code] return $outputXQL Not present: Generic, PostgreSQL, Oracle