Hopefully, one of you other weekend warriors can help, else I'll have
to wait 'till Monday...

I have a recursive custom tage I use to build my navigation.  It goes
like so (shortened to get the point across):

cfparam "ParentID"  "0"

Query "ReturnParent" (Where ID=ParentID)

<cfloop query="ReturnParent">

     Query "CheckForChild"

     Build NavigationArray
     <!--- Testing variable: A: Number of times run + 1
(CheckForChild.RecordCount)
            cfdump NavigationArray --->
     If CheckForChild.RecordCount GT 0
          cf_buildnavigation ParentID="ReturnParent.ID"
     /If
     <!--- Testing variable: B(Number of times at point B): Number of
times run + 1 (CheckForChild.RecordCount)
            cfdump NavigationArray --->
</cfloop>

I have output the results of test points A and B at the bottom of the
email.  You'll see the problem is that the navi8gation gets built fine
at the second point A, as well as the first point B.  But for some
reason, no matter what happens in the middle, the contents of the
array end up being that of the first time through the tag.

Hope it makes sense...

Chad
who is watching Teamo Supreamo while coding  

A: 2 (1):
1       
1       Home

A: 3 (0):
1       
1       Home

2       
1       Manage System Locations

B(1): 3 (0):
1       
1       Home

2       
1       Manage System Locations

B(1): 2 (1):
1       
1       Home

---
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/

Reply via email to