I'm not sure what you mean... what is the correct way to call the
function then? Pass in functionArgs="bIncludeSelf=1" ?
On May 1, 10:26 pm, "Jake Churchill" <[EMAIL PROTECTED]> wrote:
> This is the function call inside of genericNav that gets the query:
>
> qNav = evaluate("o."&attributes.functionMethod&"(objectid=attributes.navID,
> lColumns='externallink', "&attributes.functionArgs&", afilter=navFilter)");
>
> That is why your results were not the same. You did not provide the
> additional parameters.
>
> _____
>
> Jake Churchill
>
> CF Webtools
>
> 11204 Davenport, Ste. 200b
>
> Omaha, NE 68154
>
> http://www.cfwebtools.com
>
> 402-408-3733 x103
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
>
> Behalf Of schlub
> Sent: Monday, April 30, 2007 12:08 AM
> To: farcry-dev
> Subject: [farcry-dev] Re: genericNav bIncludeSelf
>
> 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
-~----------~----~----~----~------~----~------~--~---