> PART 3: Dealing with anti-CFOUTPUT code, such as CFMAIL
> Encapsulate all code by STARTING with a </CFOUTPUT> and ENDING with a
> <CFOUTPUT> to restore the CFOUTPUT nest.
Alan,
That's where the idea comes apart for me. I just can't see spreading the two
halves of a tag pair across multiple templates. There's something
inherently... "messy" about it, if nothing else.
Now, I could perhaps see something like this:
<CFCASE value="foo">
<CFINCLUDE template="qry_dothis.cfm">
<CFOUTPUT>
<CFINCLUDE template="dsp_showstuff.cfm">
<CFINCLUDE template="dsp_morestuff.cfm">
</CFOUTPUT>
<CFINCLUDE template="act_sendmail.cfm">
</CFCASE>
....but at that point, you might as well just put the output wrapper in the
individual dsp_ files and keep the CASEs clean.
--
Roger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- <cfoutput>#request.variable#<cfoutput> kinley
- RE: <cfoutput>#request.variable#<cfoutput&g... hal . helms
- RE: <cfoutput>#request.variable#<cfoutp... jeff . peters
- RE: <cfoutput>#request.variable#<cfoutp... paul smith
- RE: <cfoutput>#request.variable#<cfoutp... Jeffrey Marsh
- Re: <cfoutput>#request.variable#<cfoutput&g... Greg Wolfinger
- Re: <cfoutput>#request.variable#<cfoutput&g... tollervey
- RE: <cfoutput>#request.variable#<cfoutput&g... amccollough
- RE: <cfoutput>#request.variable#<cfoutp... marc
- RE: <cfoutput>#request.variable#<cfoutp... broberts
- RE: <cfoutput>#request.variable#<cfoutp... Roger B.
- RE: <cfoutput>#request.variable#<cfoutp... Matthew Walker
- <CFOUTPUT> Douglas Smith
- RE: <cfoutput>#request.variable#<cfoutput&g... jasonl
- RE: <cfoutput>#request.variable#<cfoutput&g... Scott Helm
- RE: <cfoutput>#request.variable#<cfoutput&g... Johnson, Russ
- Re: <cfoutput>#request.variable#<cfoutput&g... Nat Papovich
- RE: <cfoutput>#request.variable#<cfoutput&g... McCollough, Alan
