Location: CellService.getNavigation

Discussion: Cell NavigationReported This is a featured thread

Showing 5 posts
evolanding
evolanding
Cell Navigation
Jun 11 2008, 6:57 PM EDT | Post edited: Jun 11 2008, 6:57 PM EDT
In the example above, the given cell id is presented as the first child of its parent node.

Will this always be the case? Or are the children presented in some fashion which could result in the target node being in a position other than the first child position?
Do you find this valuable?    
Keyword tags: CellService
kevin_wetpaint
kevin_wetpaint
1. RE: Cell Navigation
Jun 11 2008, 7:01 PM EDT | Post edited: Jun 11 2008, 7:01 PM EDT
This call retrieves the children of the given cell plus all of the ancestors up to the root of the hierarchy. The XML that comes back starts with the root ancestor at the outer-most scope, so the given cell can indeed be further down in the returned hierarchy if it has multiple generations of ancestors. Please reply if this doesn't fully answer your question. Do you find this valuable?    
evolanding
evolanding
2. RE: Cell Navigation
Jun 11 2008, 7:22 PM EDT | Post edited: Jun 11 2008, 7:22 PM EDT
I'm wondering, in relation to its siblings only, will the node in question always come before its siblings, or is there a possibility the active node will come later in the list than one of its siblings? Do you find this valuable?    
evolanding
evolanding
3. RE: Cell Navigation
Jun 11 2008, 7:45 PM EDT | Post edited: Jun 11 2008, 7:45 PM EDT
The active node is not guaranteed to be the first among its siblings. Do you find this valuable?    
kevin_wetpaint
kevin_wetpaint
4. RE: Cell Navigation
Jun 11 2008, 7:54 PM EDT | Post edited: Jun 11 2008, 7:54 PM EDT
No, the order of the siblings is not dependent on which one is requested. The order is dictated by the order that they were added to the parent. Do you find this valuable?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)