Caller is a scope that lets you access the parent variables.
imagine foo.cfm and bar.cfm
foo.cfm
<cfset x=1>
<cf_bar y=2>
bar.cfm
<cfoutput>
#caller.x#
#attributes.y#
</cfoutput>
<cfset caller.x=3>
<Jaime/>
> -----Original Message-----
> From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 21, 2000 7:05 AM
> To: CF-Talk
> Subject: RE: Parent/Child CFML Tags
>
>
> > Hi All
> >
> > 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>
>
>
> Also how do you pass data from the parent tag to the child tag
> without using
> the request scope? For instance if I set a variable called X in the parent
> how do I out put it in the child
>
> TIA,
> Duane
>
>
> ------------------------------------------------------------------
> ------------------------------
> 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]
------------------------------------------------------------------------------------------------
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]