Re: CFSILENT with CFAPPLICATION

2005-03-17 Thread Robyn
Great suggestions, guys. Thanks! Jochem van Dieten wrote: > Brian Kotek wrote: > >>Just a note that you can also always put just >>before you output your HTML content, and that will discard everything >>in the output buffer and start from scratch. This is an easy way to >>eliminate any whitespa

Re: CFSILENT with CFAPPLICATION

2005-03-17 Thread Jochem van Dieten
Brian Kotek wrote: > Just a note that you can also always put just > before you output your HTML content, and that will discard everything > in the output buffer and start from scratch. This is an easy way to > eliminate any whitespace that was generated before your content. Second that. And usin

Re: CFSILENT with CFAPPLICATION

2005-03-17 Thread Brian Kotek
Just a note that you can also always put just before you output your HTML content, and that will discard everything in the output buffer and start from scratch. This is an easy way to eliminate any whitespace that was generated before your content. On Thu, 17 Mar 2005 11:04:16 -0500, Robyn <[EMA

Re: CFSILENT with CFAPPLICATION

2005-03-17 Thread Robyn
Ah, I see what you're saying... So, if you needed the doctype to be the first line in the file, for instance, then it would make sense to suppress any whitespace beforehand. I also didn't know that the cfapp tag would output a line of whitespace. BTW, I'm looking at the fusebox index.cfm file

RE: CFSILENT with CFAPPLICATION

2005-03-17 Thread James Holmes
0 To: CF-Talk Subject: Re: CFSILENT with CFAPPLICATION So, even in application.cfm, why would you wrap all of the code in cfsilent? Are you actually outputting stuff in your application.cfm, or is it to suppress whitespace? ~| Lo

Re: CFSILENT with CFAPPLICATION

2005-03-17 Thread Adam Haskell
well cfapplication name="something" does output a blank line probably...whats directly under the tag? is it a doctype? Adam H On Thu, 17 Mar 2005 10:09:03 -0500, Robyn <[EMAIL PROTECTED]> wrote: > Hey all, > > My apologies if this has already been discussed. I tried searching in > the archives

Re: CFSILENT with CFAPPLICATION

2005-03-17 Thread Robyn
So, even in application.cfm, why would you wrap all of the code in cfsilent? Are you actually outputting stuff in your application.cfm, or is it to suppress whitespace? -R Ian Skinner wrote: > That does seem a bit weird to me as well. Now I often place a pair of > tags bracketing my entire

RE: CFSILENT with CFAPPLICATION

2005-03-17 Thread Ian Skinner
That does seem a bit weird to me as well. Now I often place a pair of tags bracketing my entire application.cfm file, but not just around the cfapplication tag. Application.cfm --- A bunch more code. -- Ian Skinner Web Programmer BloodSource www.BloodSou

Re: cfsilent tag

2004-09-29 Thread dave
eErrorCode#type: >#cfcatch.Type#message: >#cfcatch.Message#TAG CONTENT: >    >    >     >      >     #CURRENT_TAG_STACK["ID"]# >(#CURRENT_TAG_STACK["LINE"]#, #CURRENT_TAG_STACK["COLUMN"]#) >#CURRENT_TAG_STACK["template&qu

Re: cfsilent tag

2004-09-29 Thread Mike Kear
         name="detail">#HTMLeditFormat(cfcatch.Detail)#         Cheers Mike Kear Windsor, NSW, Australia AFP Webworks http://afpwebworks.com .com,.net,.org domains from AUD$20/Year - Original Message - From: dave <[EMAIL PROTECTED]> Date: Wed, 29 Sep

Re: cfsilent tag

2004-09-29 Thread dave
ok, say i have this page (see code below) what would be all the ways to optimize it? sorry the formatting got jacked when i pasted Sorry there has been an error, please try again SELECT agent_username FROM users WHERE agent_username = INS

Re: cfsilent tag

2004-09-29 Thread dave
right but the whole body section is not within a cfoutput tag, wouldnt it have 2 be? -- Original Message -- From: Barney Boisvert <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date:  Wed, 29 Sep 2004 00:12:31 -0700 >No, because the HTML tag is enclosed wi

Re: cfsilent tag

2004-09-29 Thread Barney Boisvert
No, because the HTML tag is enclosed within a CFOUTPUT tag, so it will be displayed.  The  ENABLECFOUTPUTONLY attribute of the CFSETTING tag makes it so that content contained within CFOUTPUT tags is rendered as normal. cheers, barneyb On Wed, 29 Sep 2004 02:12:07 -0400, dave <[EMAIL PROTECTED]>

Re: cfsilent tag

2004-09-28 Thread dave
logic that way too. > >Cheers >Mike Kear >Windsor, NSW, Australia >AFP Webworks >http://afpwebworks.com >.com,.net,.org domains from AUD$20/Year > > >- Original Message - >From: dave <[EMAIL PROTECTED]> >Date: Wed, 29 Sep 2004 01:29:55 -0400 >

Re: cfsilent tag

2004-09-28 Thread Barney Boisvert
You have to use it with proper nesting in relation to other CF tags. It operates like any other tag with a body; if you open a tag within the body, you have to close it within the body, and if you open a tag outside the body, you have to close it outside the body. cheers, barneyb On Wed, 29 Sep

Re: cfsilent tag

2004-09-28 Thread dave
do u need to do it around each indiv cf tags? i just tried it on a processing page and it took a big stinky dookie -- Original Message -- From: Barney Boisvert <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date:  Tue, 28 Sep 2004 22:42:35 -0700 >I usually

Re: cfsilent tag

2004-09-28 Thread Mike Kear
m .com,.net,.org domains from AUD$20/Year - Original Message - From: dave <[EMAIL PROTECTED]> Date: Wed, 29 Sep 2004 01:29:55 -0400 Subject: Re: cfsilent tag To: CF-Talk <[EMAIL PROTECTED]> so actually we should be putting it between most or all of out cfm code, especially i

Re: cfsilent tag

2004-09-28 Thread Barney Boisvert
I usually set up my files like this: processing stuff . display stuff . Of course, I'm a Fuseboxer, so in general, I usually only have processing or display code in any given file, but there are situations where you have both. Unlike using CFSETTING CFOUTPUTONLY="true", y

Re: cfsilent tag

2004-09-28 Thread dave
so actually we should be putting it between most or all of out cfm code, especially if it is at the top of the page? -- Original Message -- From: Mike Kear <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date:  Wed, 29 Sep 2004 15:20:27 +1000 >If you do a d

Re: cfsilent tag

2004-09-28 Thread Charlie Griefer
just to chime in...it also reduces bandwidth usage since the file sizes are smaller.  on a busy site that does add up to a few bucks saved in bandwidth costs. On Wed, 29 Sep 2004 15:20:27 +1000, Mike Kear <[EMAIL PROTECTED]> wrote: > If you do a decent job of using and > enablecfoutputonly="yes"

Re: cfsilent tag

2004-09-28 Thread Mike Kear
If you do a decent job of using and enablecfoutputonly="yes"> tags, you can get quite a large CFM template containing lots of processing, and have only the lines of HTML left in the finished output page. Why care about white space? I dont suppose it's the most important part of anyone's develop

Re: cfsilent tag

2004-09-28 Thread Barney Boisvert
Anything in the body of the tag will be removed from the generated content of the page.  My most common use is to surround blocks of processing so that they don't generate any content.  if you want a good example of NOT doing that, hit view source on the CF admin pages. Hundreds of lines of whites

Re: cfsilent how to...

2004-07-28 Thread Barney Boisvert
CFSILENT works like CFSAVECONTENT except the generated content is thrown away, i believe.  So it operates at the HTML buffer level, unlike CFSETTING.  Not sure about CFPROCESSINGDIRECTIVE cheers, barneyb On Wed, 28 Jul 2004 14:10:55 -0400, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > that's never

RE: cfsilent how to...

2004-07-28 Thread Paul Vernon
> that's never worked for me... the cfsavecontent tag shouldn't generate > any content because it's just looking at the output buffer... which > doesn't receive any content while it's inside the cfsilent tags... Works great for me but then I guess I am testing in CFMX 6.1 . Paul [Todays

RE: cfsilent how to...

2004-07-28 Thread S . Isaac Dealey
that's never worked for me... the cfsavecontent tag shouldn't generate any content because it's just looking at the output buffer... which doesn't receive any content while it's inside the cfsilent tags... afaik there's not any way to output anything inside cfsilent tags... you can still use to g

Re: cfsilent how to...

2004-07-28 Thread Jeff Garza
Not that I'm aware of...  Your only option is to close off your cfsilent tags.   [do stuff]       [do more stuff] -- Jeff   - Original Message -   From: Jim McAtee   To: CF-Talk   Sent: Wednesday, July 28, 2004 10:36 AM   Subject: cfsilent how to...   ColdFusion 5.0.  If I'v

RE: cfsilent how to...

2004-07-28 Thread Paul Vernon
If i'm doing something like that then this is how I do it... [do stuff]                  [do more stuff]     #errormessage#     [rest of code not needing to be in CFSILENT] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [

Re: CFSILENT and CFINCLUDE

2002-10-10 Thread Christian Cantrell
The content of the included file is indeed suppressed. Cantrell S. Isaac Dealey wrote: > iirc this was my experience with it... > > Isaac > Certified Advanced ColdFusion 5 Developer > > www.turnkey.to > 954-776-0046 > > >>What happens if you use CFINCLUDE between CFSILENT tags? >>Is the outp

Re: CFSILENT and CFINCLUDE

2002-10-10 Thread S . Isaac Dealey
iirc this was my experience with it... Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 > What happens if you use CFINCLUDE between CFSILENT tags? > Is the output > normally generated by the CFINCLUDE also suppressed? > > (Some CF code) > > (Some more CF code) >

Re: CFSILENT why would it be used?

2002-05-31 Thread Ewok
The only thing that I recall using it for is around to keep the message formatted right - Original Message - From: "MW" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 31, 2002 8:50 PM Subject: RE: CFSILENT why would it be us

RE: CFSILENT why would it be used?

2002-05-31 Thread MW
. These are the solutions offered from Allaire. Matt -- Matt Wisdom cto Turbo Squid > -Original Message- > From: Matt Robertson [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 31, 2002 7:20 PM > To: CF-Talk > Subject: Re: CFSILENT why would it be used? > > It just kill

Re: CFSILENT why would it be used?

2002-05-31 Thread Matt Robertson
It just kills whitespace. It doesn't suppress the default CF debugging messages, but anything you put in yourself, like variable dumps, will be suppressed. --- Matt Robertson[EMAIL PROTECTED] MSB Designs, Inc., www.mysecretbase.com ---

RE: cfsilent

2001-12-20 Thread David Schmidt
Thank you. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 3:09 PM To: CF-Talk Subject: Re: cfsilent David Schmidt wrote: > Has anyone noticed any ill effects from using cfsilent? speed reduction ? No. No. Joc

Re: cfsilent

2001-12-20 Thread Jochem van Dieten
David Schmidt wrote: > Has anyone noticed any ill effects from using cfsilent? speed reduction? No. No. Jochem __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activati

RE: cfsilent

2001-12-20 Thread Joseph DeVore
I use CFSILENT all the time since it seriously suppresses whitespace. I personally have not seen any noticeable time difference, just cleaner code. If you hear otherwise please forward me the message - I'm interested in knowing. Thank you, Joseph DeVore VeloxWeb Technologies -Original Me

Re: cfsilent

2001-12-20 Thread Jeffry Houser
According to common knowledge, It is believed to be a fairly inefficient tag. However, common knowledge is not always correct and I cannot speak from experience. As a point of reference, it is also 'common knowledge' that using cfsetting (with enableCfOutputOnly = "yes") to suppress whit

Re: CFSILENT

2001-09-24 Thread Colin Fyfe
Hi Bruce - no problem for the mail, I'm just glad it helped clear a few things up. The general rule I use to decide whether or not to build the content as a big string and then dump it either incrementally or at the end is a bit rough but basically: If the template/custom tag is primarily a data

Re: CFSILENT

2001-09-21 Thread Bruce Holm
Wow, I could have figured that out from the title of the function. But what is ODBC timestamp format? When should I use it? - Original Message - From: "Colin Fyfe" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 3:

RE: CFSILENT

2001-09-21 Thread Colin Fyfe
Hi Bruce, CFSILENT is a great tag IMO. It allows us to suppress all whitespace generated within our custom tags, even when a custom tag is called from within a CFOUTPUT block - if only Spectra (1.0) custom tags used CFSILENT... Anyway, CFSILENT is like any other CF tag which has an opening and c

Re: CFSILENT not working?

2000-06-01 Thread KChapman
What do you mean that the server yelled at you? Do you mean an error message was displayed? If so can we see it? --K Katrina Chapman Consultant Ameriquest Mortgage

RE: CFSILENT not working?

2000-06-01 Thread Philip Arnold - ASP
> I tried using to suppress the output of an ArrayAppend() > function, and CF server yelled at me. =) Apparently it doesn't > recognize the > tag, which sort of goes along with the fact that CF Studio doesn't try to > autocomplete when I type > Anyone else have this problem? Both apps are v4.5