Hi Gav,

Request.navid should give you the current stObj's navigation container
ObjectID.

Not all navigation modes will have a nav alias however you could run through
the Application.navid struct to see if the required objectid was there.

i.e.

<cfscript>
  Variables.sCurrentNavID = "";
  Variables.aNavidfound = StructFindValue(Application.navid, Request.NavID);
  if (ArrayLen(Variables.aNavidfound)) {
    Variables.sCurrentNavID = Variables.aNavidfound[1].Key;
  }
</cfscript>

<cfdump var="#Variables.aNavidfound#">
<cfdump var="#Variables.sCurrentNavID#">

cheers

David






-----Original Message-----
From: Gavin Cooney [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 12:10 PM
To: FarCry Developers
Subject: [farcry-dev] how do i find the navalias?


HI all, 

On a dmInclude how do i find the nav alias of the current nav node?

I would have thought it would be in request.stobj but it's not there!

Thanks

Gav



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