Used within a custom tag. Finds calling (ancestor) tag by
name and accesses its data.

getBaseTagData(tagname [, instancenumber]) → returns any

getBaseTagData Argument Reference

tagname string

instancenumber numeric

Examples sample code invoking the getBaseTagData function

Tag Syntax

This example shows the use of getBaseTagData function. Typically used in custom tags.

<cfif trim(inCustomTag) neq "">
Running in the context of a custom tag named #inCustomTag#.<p>
<!--- Get the tag instance data --->
<cfset tagData = getBaseTagData(inCustomTag)>
<!--- Find the tag's execution mode Located inside the --->
<cfif tagData.thisTag.executionMode neq 'inactive'>

Fork me on GitHub