I use this
qNav = application.factory.oTree.getDescendants(objectid=application.navid.home,
depth=1, afilter=navFilter, lColumns='lNavIDAlias');

addes the lNavIDAlias as a field in the query.


On Tue, 26 Oct 2004 17:30:30 -0400, Jaci Chesnes <[EMAIL PROTECTED]> wrote:
> ON the _primaryNav there is a query called q that generates a list of
> objectID's under whatever node is called but does not generate the list
> of aliases as far as can tell. When it loops over the list to generate
> the dynamic links for that node it calls it by objectname which is fine
> if you want to keep it text put I want it to generate a dynamic list of
> images.  I wanted to create the image names based on the alias because
> there are no spaces in the alias names. The only way I could get it to
> work was to create a query that runs within the loop that accesses the
> associated alias name in the dmNavigation table. Works beautifully but
> it certainly seems like there should be a better way to do this.  I
> don't fully understand how the API works or the paths to call the
> objects and methonds.  For instance what is application.factory. How do
> you know what paths come before the objects?
> 
> 
> 
> Jaci
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom
> Cornilliac
> Sent: Tuesday, October 26, 2004 4:53 PM
> To: FarCry Developers
> Subject: [farcry-dev] RE: Learning...
> 
> All navigation Alias' are loaded into the application scope upon
> application initialization and can be referenced at:
> "application.navid.[nav alias name]"
> 
> ~tom
> 
> > >  I just want to reference the
> > > navaliases within a node
> > > and can not figure out how to call them.
> 
> ---
> 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/
>

---
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