template::enclosing_tag (private)

 template::enclosing_tag tag

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

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.

Parameters:
tag (required)
the type (e.g. multiple) of the enclosing tag to look for.
Returns:
the tag identifier for the enclosing tag
Author:
Lee Denison <lee@runtime-collective.com>
Created:
2002-01-30

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