> How do you get the child tag to access the attributes of the 
> parent?
> 
> <cf_MyParentTag Attrib1="test1" Attrib2="test2">
>       <cf_MyChildTag ShowAttrib="Attrib1">
> </cf_MyParentTag>

Within the child tag, you can use the GetBaseTagData function, which returns
a structure containing all variables available to the parent tag:

<cfset stBaseData = GetBaseTagData("cf_MyParentTag")>

<cfset MyBaseTagAttribValue = stBaseData.Attributes.MyAttrib>

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to