template::element::get_reference (private)

 template::element::get_reference

Defined in packages/acs-templating/tcl/element-procs.tcl

Gets a reference to the array containing the properties of an element, and throws and error if the element does not exist. Called at the beginning of several of the element commands.

Testcases:
No testcase defined.
Source code:
    uplevel {

        set level [template::adp_level]
        upvar #$level $form_id:$element_id element

        if { ! [array exists element] } {
            error "Element \"$element_id\" does not exist in form \"$form_id\""
        }
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: