<cf_tag attributesCollection="#attributes#" /> that would pass the attributes into the next recursion, but not the local scoped vars.
i would set up a different struct on the way in -- //////////////////////////// -- <cfset attrCopy = duplicate(attributes)> then if you need to update the values, update them in the struct and then pass that in as the collection <cf_tag attributesCollection="#attrCopy#" /> Steve -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chad Renando Sent: Friday, June 10, 2005 8:33 AM To: CFAussie Mailing List Subject: [cfaussie] Re: Recursive Tag with dynamic number of arguments Thought of that as well, and may do that in the future. For now, it's working with just defining the attributes seperately. My main issue was with how to pass the attributes between recursions, but it turned out to be a scoping thing. Chad who wishes everything in life could be explained as just a scoping thing On 6/9/05, Mark Mandel <[EMAIL PROTECTED]> wrote: > Why not just pass an array/struct through? > > Or is that too easy? > > ;) > > Mark > Who feels the peer pressure to also use a sig thingy. > > On 6/9/05, Chad Renando <[EMAIL PROTECTED]> wrote: > > Hey all. I am doing a recursive tag where the number of arguments is > > dynamic, like so: > > > > <cf_myTestTag > > NumberOfArguments = "3" > > MyAttribute1 = "MyTest1" > > MyAttribute2 = "MyTest2" > > MyAttribute3 = "MyTest3"> > > > > How would I go about recursing this? I don't suppose I can loop > > inside the tag call itself. > > > > Cheers, > > > > Chad > > who is 5 weeks into a 3 week project > -- > E: [EMAIL PROTECTED] > W: www.compoundtheory.com > ICQ: 3094740 > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
