CFTREE Object - Looping through structure

2005-10-25 Thread Stephen Whiteley
Hi I'm using the CFTREE tag on cfmx7. I've set the format type to "object". This gives me a structure called "navtree". I need to loop through it to use the information in either Breadcrumb nav or DHTML menu nav. BUT not sure how to do it. Here's what i've got so far, but it isn't recursive and

Re: CFTREE Object - Looping through structure

2005-10-25 Thread Stephen Whiteley
I always seem to have a way of wording questions, that inspire no answers, does anyone want any clarification or more information? Cheers Steve ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket applica

Re: CFTREE Object - Looping through structure

2005-10-26 Thread Thomas Chiverton
On Tuesday 25 October 2005 17:51, Stephen Whiteley wrote: > I always seem to have a way of wording questions, that inspire no answers, > does anyone want any clarification or more information? You're not sure how to write a recursive function in CF ? You've tried and it craps out ? -- Tom Chive

Re: CFTREE Object - Looping through structure

2005-10-26 Thread Stephen Whiteley
>On Tuesday 25 October 2005 17:51, Stephen Whiteley wrote: >> I always seem to have a way of wording questions, that inspire no answers, >> does anyone want any clarification or more information? > >You're not sure how to write a recursive function in CF ? >You've tried and it craps out ? > >-- >

Re: CFTREE Object - Looping through structure

2005-10-26 Thread Thomas Chiverton
> http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:42965 startNodeId=somethingOrOther; (you know where you are staring from) while hasParent(startNodeId){ listAdd(aList,nameOfNode(startNodeId) startNode=getParentOfNode(startNodeId) } aList=listReverse(aList);