When outputting a query with cfoutput group, and using a cfimported
custom tag inbetween, cfoutput does not output all the
records...only the grouped ones. I tested both cfmodule and a
shorthand custom tag under MX UD3 default JRE and they also exhibit
this behavior.
A CF5 custom tag works as expected. Is this expected behavior for MX,
and if not, anyone know if it's planned to be fixed anytime soon?
Here is what the code looks like.
<cfquery datasource="#request.dsn#" name="getLabor">
SELECT ...
</cfquery>
<cfoutput query="getLabor" group="category">
<ui:box_pro header="#getLabor.category#">
<cfoutput>#getLabor.service#</cfoutput>
</ui:box_pro>
</cfoutput>
With the above code...it loops over the distinct groups, but does
not display the rest of the rows like it should.
<cfoutput query="getLabor" group="category">
#getLabor.category#<hr>
<cfoutput>#getLabor.service#<br></cfoutput>
</cfoutput>
Remove the custom tag, and all is well.
--
jon
mailto:[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4