That returns an error:
"The method 'getParent' could not be found in component C:\farcry-
milestone_3-0-1\farcry_core\packages\farcry\tree.cfc."
I have seen a getParent method used like the following:
<cfscript>
o = createObject("component",
"#application.packagepath#.types.dmNavigation");
qParent = o.getParent(objectid=request.navid);
</cfscript>
Then you can use #qParent.objectid# but as it only returns an objectid
it isn't suitable for the getDescendants functions:
"The argument OBJECTID passed to function getDescendants() is not of
type UUID."
You can't use #qParent.parentid[1]#
I am more interested in getSiblings anyway, but I don't understand why
it isn't including itself in the results... has anyone had success
with this function?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---