Remember that there is a performance hit for this. The server has to go
over the output before it delivers it. You might as well let the white
space happen.
-----Original Message-----
From: Bryan LaPlante [SMTP:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 11:17 PM
To: CF-Server
Subject: Re: White space and CFFORM
In CF 4.5 there is a setting for white space with the following
description.
By enabling this option the engine will compress runs of spaces, tabs, and
carriage return/linefeeds into a single space. This can compact the output
of a CFML template by a significant amount. Templates can locally override
this setting (for example, to emit preformatted data) using the
<CFPROCESSINGDIRECTIVE> tag. The ColdFusion Application Server must be
restarted for this setting to go into effect.
The tag gallery at Allaire has a tag called lessWhiteSpace. I have used
this
tag and it works great. Since it is small in size you can safely run it
inside of loops without dragging you page's load time down.
----- Original Message -----
From: "Allard, Simon" <[EMAIL PROTECTED]>
To: "CF-Server" <[EMAIL PROTECTED]>
Sent: Monday, February 05, 2001 9:48 AM
Subject: White space and CFFORM
Hello !
I made a form using CFFORM. In the Form page I've include a header with
<cfinclude template="blablabla.cfm">. The problem is each time I call the
page, ColdFusion put a white space at the top of my template. When I remove
the CFFORM tag the white space dissapears, anyone encounter this before?
Simon
*********************************
Simon Allard
Int�grateur Multim�dia
Bowne de Montr�al
[EMAIL PROTECTED]
*********************************
------------------------------------------------------------------------------To
unsubscribe, send a message to [EMAIL PROTECTED] with'unsubscribe'
in the body or visit the list page at www.houseoffusion.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com