|
Michael,
In the display method for the parent node
you can do something like this:
<cfscript>
// get child navigation elements o = createObject("component", "#application.packagepath#.farcry.tree"); navFilter=arrayNew(1); navfilter[1]="status IN (#listQualify(request.mode.lvalidstatus, "'")#)"; qGetDescendants = o.getDescendants(objectid=request.navid, depth=1, afilter=navFilter, lColumns='externalLink', dsn=application.dsn); </cfscript> Notice the "lColumns" arg in the
getDescendants method. You can then evaluate the length of
qGetDescendants.externalLink in your display code.
Full credit to Brendan for sharing this
code with me when I had this exact question at one time.
Make sense?
~Tom
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] |
Title: Message
- [farcry-dev] Re: Symbolic Link Redirect. Tom Cornilliac
- [farcry-dev] Re: Symbolic Link Redirect. Michael @Four Eyes
- [farcry-dev] Re: Symbolic Link Redirect. Michael @Four Eyes
- [farcry-dev] Re: Symbolic Link Redirect. Tom Cornilliac
- [farcry-dev] Re: Symbolic Link Redirect. natalies
- [farcry-dev] Re: Symbolic Link Redirect. Geoff Bowers
- [farcry-dev] Re: Symbolic Link Redirect. Michael Sammut
