If you have Ben Forta's Advanced ColdFusion Application Development
at hand, turn to page 136 and read the "Using Child Tags" chapter.

Or if you don't have that book, mail me off list, and I'll send you
the example code from that chapter, maybe that will help.

Erki

----- Original Message -----
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 4:11 PM
Subject: Nested Recursive Custom Tags AttributeCollection Nightmare


> I have a tag which is going to call itself many times over.
>
> I want to be able to create a structure, call the custom tag and be
left
> with a modified structure at the end of it.
>
> <cfset myStructure = StructNew()>
> <cfmodule template="acustomtag.cfm"
AttributeCollection="#menuStructure#">
>
> In the module "acustomtag.cfm":
>     Update the stucture with new values and under certain conditions:
>     <cfmodule template="acustomtag.cfm"
> AttributeCollection="#menuStructure#">
>
>     This will creat a many-tiered hierachy of nests of the same tag.
>
> Upon return to the calling script I should have the modified structure
> "myStructure".
>
> I have read the manual and it left my brain tangled.  Can somebody
please
> clarify the syntax and usage of "AttributeCollection" and
"CFAssociate" in
> order to get this monster working...
>
> cheers in advance
>
> Chris


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to