> I'm using CF7.02 and I'm trying to create a custom tag that will be > self nested, like:- > > <cf_ct1> > <cf_ct2> > <cf_ct2> > </cf_ct2> > </cf_ct2> > </cf_ct1> > > And in <cf_ct2>, I'm trying to get the data of the parent tag and > assigning to a variable in the current tags state:- > > <cfset lvData=GetBaseTagData(ListGetAt(GetBaseTagList(),2))> > > But the assignment creates a stack overflow and I don't understand why?
While Barney's advice is good, and solves your immediate problem, you may want to consider a different approach for nested custom tags. Instead of having the processing done in the child tags, you can simply pass the data from those tags back to the parent tag during its end execution mode, using the CFASSOCIATE tag. This will let you do things that are a bit harder to do in the nested tag itself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our traini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331471 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

