template::get_enclosing_tag (private, deprecated)

 template::get_enclosing_tag tag

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

Deprecated. Invoking this procedure generates a warning.

Reach back into the tag stack for the last enclosing instance of a tag. Typically used where the usage of a tag depends on its context, such as the "group" tag within a "multiple" tag. Deprecated, use:

    set tag [template::enclosing_tag <tag-type>]
    set attribute [template::tag_attribute tag <attribute>]
    

Parameters:
tag (required)
The name of the enclosing tag to look for.
See Also:

Testcases:
No testcase defined.
[ show source ]
Show another procedure: