Hi list --

I'd like to get the children of a specific category, and then get the objectID and objectName of the dmNews items in each of the children categories.

For Example, I have this:

OSH
 +- Regulatory
 +- Safety Culture
 +- Work Zone Safety
 +- Silica

I want to return this:

OSH
 +- Regulatory
    +- Article 1 about Regulatory
    +- Article 2 about Regulatory
 +- Safety Culture
    +- Article 1 about Safety Culture
    +- Article 2 about Safety Culture

I can get the objectID of the top category and I can even get it's children by using:

<cfinvoke component="#application.packagepath#.farcry.category" method="GETHIERARCHYROOT" returnvariable="lCategoryHierarchyRoot">
<cfinvokeargument name="objectName" value="OSH" />
</cfinvoke>


<cfinvoke component="#application.packagepath#.farcry.tree" method="GETDESCENDANTS" returnvariable="qGetDecendants">
<cfinvokeargument name="objectID" value="#lCategoryHierarchyRoot#" />
</cfinvoke>


How do I step through the second query to return items from dmNews?

_________________________________________________________________
Watch LIVE baseball games on your computer with MLB.TV, included with MSN Premium! http://join.msn.click-url.com/go/onm00200439ave/direct/01/



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

Reply via email to