>> tag which works relatively well. Except there are instances
>> when I would really like to have the data placed into a list.
>> Any ideas how I could accomplish this?
You need to build the list successively with each recursion and then pass it
back the to calling routine. We do this with a breadcrumb tag we wrote for
our applications.
In our case we wanted a list of the ID numbers of the levels that were
recursed. So we created a variable Levellist that gets passed to the
recursive routine as an attribute then in the routine we executed this
command
<cfset LevelList = ListPrepend(#Attributes.LevelList#,
#GetLevel.ParentItemID#)>
then at the end of the routine we pass it back
<cfset Caller.Levellist=LevelList>
Best Regards,
Dennis Powers
UXB Internet- A Website Design and Hosting Company
690 Wolcott Road - P.O. Box 6028
Wolcott, CT 06716 tel: (203)879-2844
http://www.uxbinternet.com
http://dennis.uxb.net
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

