|
Sure. Get the properties for the node and check the length of “aObjectIds”. aObjectIds will be an array of objectids for children of the node.
<cfscript> stNodeProps = createObject(“component”, application.types.dmNavigation.typePath).getData(objectId=#nodeObjectId#); if(arrayLen(stNodeProps.aObjectIds)){ //it has children } else{ //it doesn’t have children } </cfscript>
-----Original Message-----
Is it possible to determine if a navigation node has at leat one page (dmHTML or otherwise) associated with it?
No point going to this if there is nothing to display.
Regards, W: www.power.net.au
CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Power Business Systems immediately. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Power Business Systems.
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 |
- [farcry-dev] Re: Nav node has item Chris Kent
- [farcry-dev] RE: Nav node has item Tom Cornilliac
- [farcry-dev] RE: Nav node has item Andrew Mercer
