I can speak only for Railo, but I assume in MX it is almost the same. By 
setting a cfoutput tag you turn on a switch for the engine to write the 
output to the response buffer and to interpret pound signs or not. It 
also depends on the <cfsetting enablecfoutputonly> tag. So I guess it 
would be a little more performant if you use only on <cfoutput> around 
your document.
In Railo you can nest y<cfoutput> as often as you like. The funny thing 
is, that you can not nest <cfoutput> in files but you could do something 
like this:

<cfoutput>
<cfinclude template="test.cfm">
</cfoutput>

whereas test.cfm contains:

<cfoutput>
....
</cfoutput>

But keep in mind, that you might generate a lot of unnecessary output 
when surrounding your complete template with a <cfoutput>.

Inside <cfoutput query=""> nesting <cfoutput> is necessary in order to 
act on value changes in the query columns, if you use the group attribute.

Greetings / GrĂ¼sse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



Greg Johnson schrieb:
> First question, which is better, wraping an entire .cfm file with a CFOUTPUT, 
> or only using the tags where you need them in the docutment?  Whichever 
> answer, why?  And finaly, other then the fact that CF won't accept nested 
> CFOUTPUTs with different queries, why won't it?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276231
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to