It's rather curious that this:
<cfimport taglib="/farcry/farcry_core/tags/webskin" prefix="pwSkin">
<pwSkin:genericNav functionMethod="getDescendants"
objectid="#request.navid#" bIncludeSelf="1">
and this:
<cfscript>
oTree =
createObject("component","#application.packagepath#.farcry.tree");
qDesc =
oTree.getDescendants(objectid='#request.navid#',bIncludeSelf=1);
</cfscript>
<cfdump var="#qDesc#">
don't actually return the same results...
The genericNav seems to ignore the bIncludeSelf flag - unless i'm
missing something obvious?
The same goes for the getSiblings method
On Apr 30, 12:16 pm, schlub <[EMAIL PROTECTED]> wrote:
> I was getting the initial error as the function should be:
> application.factory.oTree.getParentID(request.navid).parentID[1]
>
> (it was simply missing the "ID" part of the getParentID method)
>
> It does return the parent ID correctly, and I can use it to
> getDescendants for the parent, but its definately not the function
> that i'm looking for
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---