Blair
On 6/17/06, Williams, Matt <[EMAIL PROTECTED]> wrote:
So... do ya'll think I should run a getDescendants() and then run something to grab all the aObjectIDs off the nodes? It's a LOT of branches and leaves.... using getLeaves() is going to be too much of a resource drain.
Matthew Williams
________________________________
From: [email protected] on behalf of Geoff Bowers
Sent: Thu 6/15/2006 7:31 PM
To: [email protected]
Subject: [farcry-dev] Re: Improved sitemap code help
Matthew Williams wrote:
> I need site tree navigation code. I have a need to grab a branch of
> the treee, like:
> folder1
> -iFolder1
> --jFolder1
> ---leaf1
> ---leaf2
> ---leaf3
> --jFolder2
>
> And so on... similar to what you see in the farcry admin tree. I have
> tried using the JS code to reproduce the tree ( overview.cfm), and that
> worked until there got to be a large amount of nodes in the branch.
> I've not really delved much into the navigation functions, and if
> someone has already done something similar using <ul> and <li>, I'd
> appreciate seeing how it was done.
Yikes! The overview tree is the last place you want to go ;)
There are several things in the API that should do the trick. You could
start with sitemap tag or the genericnav tag in ./tags/webskin. Or you
could go straight to the ./packages/farcry/tree.cfc and look for the
getDescendants() method.
Hope that helps,
-- geoff
http://www.daemon.com.au/
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
