<!--- This example shows the use of CFSETTING --->
<HTML>
<HEAD>
<TITLE>CFSETTING Example</TITLE>
</HEAD>

<BASEFONT FACE="Arial, Helvetica" SIZE=2>
<BODY  bgcolor="#FFFFD5">

<H3>CFSETTING Example</H3>
<P>
CFSETTING is used to control the output of HTML code in your
Cold Fusion pages.  This tag can be used to minimize the amount
of generated whitespace in your templates.

<!---
This example requires an additional step because the entire frameset
is wrapped in a CFOUTPUT tag (which causes all text to
be displayed). --->

<CFIF IsDefined("url.run")>
  <P>
  Compare the page display with the view example pane
  to see the text that has been supressed.
  <CFSETTING ENABLECFOUTPUTONLY="Yes">
    <P>This text is not shown
  <CFSETTING ENABLECFOUTPUTONLY="No">
    <P>This text is shown
  <CFSETTING ENABLECFOUTPUTONLY="Yes">
  <CFOUTPUT>
	<P>Text within CFOUTPUT is always shown
  </CFOUTPUT>	
  <CFSETTING ENABLECFOUTPUTONLY="No">
  <CFOUTPUT>
	<P>Text within CFOUTPUT is always shown
  </CFOUTPUT>	
<CFELSE>
  <P>Click the Display Output button to view the page.

  <FORM ACTION="./cfsetting.cfm?run=yes" METHOD="POST">
    <input type="submit" VALUE="Display Output">
  </form>
</CFIF>

</BODY>
</HTML>       
