No I didn't. However, I just tried and it worked pretty well. Don't try it on the onRequest function or your site will be totally gone!
Thanks!
On 6/16/05, RADEMAKERS Tanguy <[EMAIL PROTECTED]> wrote:
Hi Dave,Just curious: did you try output="no" in the cfcomponent tag and all the cffunction tags?/t
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dave Cordes
Sent: Thursday, June 16, 2005 10:39 PM
To: [email protected]
Subject: Re: [CFCDev] Suppressing Whitespace in Application.cfc
No, that doesn't work either. However, what did work was putting cfsilent tags inside the functions. So I'm good now.Thanks.
On 6/16/05, Dawson, Michael <[EMAIL PROTECTED] > wrote:If you put <cfcontent reset="yes"> at the beginning of an actual .cfm page (not the app.cfc page) does it work then?I would think that would be the "last resort" to stripping whitespace before the actual page content is needed.M!ke
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dave Cordes
Sent: Thursday, June 16, 2005 3:08 PM
To: [email protected]
Subject: Re: [CFCDev] Suppressing Whitespace in Application.cfc
Hey Mike,Yeah, I already tried that along with a bunch of ther techniques which are below. None of these work.These throw errors
<cfprocessingdirective suppresswhitespace="yes">
<cfcomponent>
...
</cfcomponent>
</cfprocessingdirective><cfsilent>
<cfcomponent>
...
</cfcomponent>
</cfsilent><cfcontent reset="yes">
<cfcomponent>
...
</cfcomponent><cfcomponent>
...
</cfcomponent>
<cfcontent reset="yes">These simply do not work
<cfcomponent>
<cfprocessingdirective suppresswhitespace="yes">
...
</cfprocessingdirective>
</cfcomponent><cfcomponent>
<cfsilent>
...
</cfsilent>
</cfcomponent><cfcomponent>
...
<cfcontent reset="yes">
</cfcomponent>Any more ideas???Thanks.Dave
On 6/16/05, Dawson, Michael <[EMAIL PROTECTED] > wrote:Did you try the <cfcontent reset="yes"> tag either at the end of app...cfm or at the beginning of your .cfm page?M!ke
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Dave Cordes
Sent: Thursday, June 16, 2005 2:15 PM
To: [email protected]
Subject: [CFCDev] Suppressing Whitespace in Application.cfc
Is there any way to use cfsilent or cfsetting to suppress whitespace in the Application.cfc file? I've tried a number of different things and nothing seems to work.Thanks!
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone ( www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
--
Dave Cordes
www.apoktechnology.com
636-412-1086 (Office)
636-578-4235 (Mobile) ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting ( www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone ( www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
--
Dave Cordes
www.apoktechnology.com
636-412-1086 (Office)
636-578-4235 (Mobile) ----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
