Whatever message this page gives is out now! Go check it out!
GetBaseTagData( tagname [, ancestorLevels]) |
Parameter | Description |
tagname | (Required) Ancestor tag name for which to return data |
ancestorLevels | (Optional) Number of ancestor levels to jump before returning data. The default value is 1 (closest ancestor). |
<!--- This example shows the use of GetBaseTagData
function. Typically used in custom tags.--->
...
<cfif trim(inCustomTag) neq "">
<cfoutput>
Running in the context of a custom
tag named #inCustomTag#.<p>
</cfoutput>
<!--- Get the tag instance data --->
<cfset tagData = GetBaseTagData(inCustomTag)>
<!--- Find the tag's execution mode --->
Located inside the
<cfif tagData.thisTag.executionMode neq ’inactive’>
template
<cfelse>
BODY
</cfif>