ColdBox Framework Forums Notification: Post to cfloop query

Title: cfloop query
Thread: cfloop query
Forum: Need Help?
Conference: ColdBox
User: sxt5676 I have some questions about cfloop query. I use cfloop query to display the
dynamic menu.Here are the codes shown below:
[code]
<cfloop query="qCategory">
<cfoutput>
<a
href="index.cfm?cat=#qCategory.CategoryName#&cid=#qCategory.CategoryID#">#qCateg
ory.CategoryName# </a>
<cfinvoke
component="#APPLICATION.strObjs.SubCategoryGateway#"
method="getByAttributesQuery" returnvariable="qSubCategory">
<cfinvokeargument
name="CategoryID" value="#CategoryID#"/>
<cfinvokeargument name="orderby"
value="SubCategoryName"/>
</cfinvoke>
    
<cfloop query="qSubCategory">
<a
href="index.cfm?subcat=#URLEncodedFormat(SubCategoryName)#&subid=#SubCategoryID
#">#SubCategoryName#</a></li>
</cfloop>
</a>
</cfoutput></cfloop>
[/code]
My question is: How can I use the above example in ColdBox?
http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMessages&threadid=0C0459A8-FF6E-E829-9A05177973C04160