Since I needed to group in a very specific way, I ended up using a switch
statement in my rule's execute method that makes getDisplay() calls based
on the display template needed.  That way I can nest cfoutput statements.

<cfoutput query="qGetRegAct" group="agency">
        <cfswitch expression="#stObj.displayMethod#">
                <cfcase value="displayAgencyList,displayDateList">
                        <cfset frn = qGetRegAct.objectid>
                        <cfscript>
                                o = createObject("component",
"#application.custompackagepath#.types.ntpRegAct");
                                o.getDisplay(frn, stObj.displayMethod); 
                        </cfscript>                             
                </cfcase>                       
                <cfdefaultcase>
                        <tr>
                                <th colspan="2"><a 
name="#agency#"></a>#agency#</th>
                        </tr> 
                        <tr>
                                <th width="50%">Federal Register Summary</th>
                                <th>NTP Work Cited</th>
                        </tr>                           
                        <cfoutput group="objectid">
                        <cfset frn = qGetRegAct.objectid>
                        <cfscript>
                                o = createObject("component",
"#application.custompackagepath#.types.ntpRegAct");
                                o.getDisplay(frn, stObj.displayMethod); 
                        </cfscript>
                        </cfoutput>                             
                </cfdefaultcase>                                
        </cfswitch>
</cfoutput>

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