>When you are creating the qNav2 variable, what does that code look like?

Looks like this:

<!--- Get children if any --->
<cfscript>
navFilter=arrayNew(1);
navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)";
qNav2 = application.factory.oTree.getDescendants(objectid=qNav.objectID, 
depth=1, afilter=navFilter);
</cfscript>


        - qnav2 doesn't return a recordcount even if I change the depth to 99

        - the pages underneath the parent are all approved

        - when I use the multiPageNav.cfm page it returns the pages underneath 
that parent objectid. that particular code is what is being used to create that 
side menu you see.


Regards,
Mike



>>> [EMAIL PROTECTED] 07/20/05 03:02pm >>>
Michael Porter wrote:
> The qnav2 query is emty.

When you are creating the qNav2 variable, what does that code look like?

Here's an example of what it should look like (if I recall, its been a 
year since I've used brainJar :)):

<cfloop query="qNav">
   <cfscript>
     qNav2 = 
application.factory.oTree.getDescendants(objectID=qNav.objectID, depth="1");
   </cfscript>
   <cfdump var="#qNav2#" />
</cfloop>

Also (silly question, I know)... are there children navigation nodes 
under the first set of nav nodes returned in qNav?  (meaning: Does qNav 
have grandchildren?).  If so, what does <cfdump var="#qNav#" /> return 
if you set the depth to say "99"?

-Jeff C.

---
You are currently subscribed to farcry-dev 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 farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to