- see footer for list info -<
Stephen Moretti wrote:

- see footer for list info -<

Snake wrote:

- see footer for list info -<

I can't believe CFMX still doesn't allow nested cfoutputs, but there you go.

Inside a <cfoutput query="whatever">
I then need to do a grouped output
E.G

<cfoutput query="whatever" group="whatever">
    #title#
 <cfoutput>
 #data#
 </cfoutput>
</cfoutput>

But CF wont allow this.
Even if I replace the outer cfoutput with

<cfloop query="whatever">
<cfoutput>

I still get this error.
--
Invalid tag nesting configuration. A query driven CFOUTPUT tag is nested inside a CFOUTPUT tag that also has a QUERY= attribute. This is not allowed. Nesting these tags implies that you want to use grouped processing. However, only the top-level tag can specify
the query that drives the processing.  --

Anyone found a workaround to this, other than having to manually do the
grouping.
Sounds like you bolloxed something up somewhere else, cos I do that all the time.

In fact....

Its like the error says.... you have a cfoutput around a cfoutput with a query attribute.

<cfoutput>
   <cfoutput query="myquery">
       <cfoutput>
       </cfoutput>
   </cfoutput>
</cfoutput>

Is very definately not valid. If you really do need to be wrapping a cfoutput around all of the html in the page then you'll need to do this.

<cfoutput>top stuff</cfoutput>
<cfoutput query="myquery">
   <cfoutput>
   </cfoutput>
</cfoutput>
<cfoutput>bottom stuff</cfoutput>

Stephen

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to