Gary Menzel wrote:
I can reference it with URL.objectID, but the page may not allways be
called via a URL.

Calling the index.cfm with the URL parameter is how FarCry actually gets the object. I am not sure how else you would call it.

display.cfm determines the objectid based on the URL and a variety of other potential paramaters -- for instance you may reference a dmNavigation object in the url but ultimately it is the first object under that node that meets the current lvalidstatus value (eg draft, pending or approved) that is the objectid for the page.


The ObjectID is stored in "request.navid".

The parent dmNavigation ID is stored in request.navid. The objectid for the page is stored as request.objectid or perhaps better to use stObj.objectid in any display template.


There is also an object called stObj accessible from your page handler that as all the details of the current object in it - including objectID.

Yep, Gary's right. Better to use the stObj structure when manipulating the presentation layer.


-- geoff
http://www.daemon.com.au/


--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to