Hi,

Cheers for the info.

It's happening on a 3rd party app that we didn't create ourselves, and
can't play around with - thought there was a CF admin setting that would
suppress all white space but obviously we'll need to take it up with the
app developers by the sounds of it.

Many thanks,

Ross

-----Original Message-----
From: Spike [mailto:[EMAIL PROTECTED]] 
Sent: 26 September 2002 14:54
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Whitespace in CFMX

If you have a <cfoutput> tag wrapped around a custom tag you will get a
heap of whitespace regardless of whether or not you have used <cfsetting
enablecfoutputonly="yes"> in the custom tag.

Basically, you need to be careful where and how you use your cfoutput
tags. This was also true in previous versions of CF, but it may be that
functions and components suffer from the same problem.

Also, a few of the tags that used to be 'native' tags are now just cfm
templates in the cfusionMX\wwwroot\cftags directory. If you have a
cfoutput wrapped around any of those you will run into the same problem.

As a side note, you can create your own 'native' cf tags by dropping cf
templates into that directory.

i.e. If you created a file called directorysearch.cfm and put it in
there, you could use <cfdirectorysearch> as a tag call. Not too sure if
there's a definite use for that, but it's nice to know nonetheless.

Spike


> -----Original Message-----
> From: Ross Williams [mailto:[EMAIL PROTECTED]] 
> Sent: 26 September 2002 15:37
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] Whitespace in CFMX
> 
> 
> AARGH.
> 
> We're using CFMX, and have enabled white space management:
> 
> Enable Whitespace Management
> 
> "Reduces the file size of the pages the ColdFusion server 
> returns to the browser by removing many of the extra spaces, 
> tabs, and carriage returns that ColdFusion might otherwise 
> persist from the CFML source file."
> 
> But it appears to be doing bog all as we're still getting a 
> stupid amount of white space generated. Is this a CF thing or 
> our app? Can I blame others and hit them with an inflateable 
> spiderman?
> 
> Ross
> 
> 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 
> 



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]





-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to