Used within a custom tag. Finds calling (ancestor) tag by name and accesses its data.
getBaseTagData(tagname [, level])
→ returns any
1
Use getBaseTagData() to retrieve the execution mode of the parent CF_MAPPER custom tag.
<cfset tagData = getBaseTagData('CF_MAPPER')>
<!--- Find the tag's execution mode Located inside the --->
<cfif tagData.thisTag.executionMode neq 'inactive'>
template
<cfelse>
BODY
</cfif>
Use getBaseTagData() to retrieve the attributes of the parent cf_iframe tag
variables.parentAttributes = getBaseTagData('cf_iframe').attributes;
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.