am i safe to be doing it with;
<cfimport taglib="/farcry/fourq/tags" prefix="q4">
<q4:contentobjectGet objectId="0D5BDC13-FB04-0B94-F8EF90F45C4779A1" r_stObject="stobj">
to retrieve my branch?
The recommended approach would be to use the getData() method in types.dmNavigation:
<cfset stSomeNav = createObject("component",application.types.dmNavigation.typepath).getDat a('0D5BDC13-FB04-0B94-F8EF90F45C4779A1') />
This same technique applies to all the types.
<q4:contentobjectGet ..> has to perform 1 level of indirection (i.e. an extra SQL call) to determine the type/table of the object, so really only use it if you don't know the type of object you're retrieving (and even then you're probably better off using the getData() method in types.types).
- tim lucas
--- 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/
