In addition to Neils advice,

Ensure that both your <cfcomponent> and <cffunction> tags have
output="false" set in them aswell. And you may want to look into the
<cfprocessingdirective> tag and the 'supresswhitespace' attribute on that.

There is also a setting in the cfadmin panel than can be turned on to
suppress whitespace. You won't eliminate it totally, but you can get it
pretty damn close.

Rob

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 21 May 2007 12:05
To: CF-Talk
Subject: RE: Extra space in rendered code

It is no doubt coming from the Application.cfc/Application.cfc.     Try
using cfsetting/cfsilent carefully within these files and you will greatly
reduce the whitespace.  CF7 does a better job at whitespace than previous
server incarnations but it still needs work.





-----Original Message-----
From: Tarek Jubaer [mailto:[EMAIL PROTECTED] 
Sent: 21 May 2007 11:54
To: CF-Talk
Subject: Extra space in rendered code

Hi
I'm developing an application. in the application.cfm file included
_constant.cfm file which configures the site constants. In the default.cfm
file there is a switch case to include header,body and footer based on the
query string.
In the rendered code, i'm getting lots of blank line just before the
starting html tag.

How can i remove these extra blank lines?

please help. thanks in advance.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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

Reply via email to