Re: CFHTMLHEAD

2014-10-16 Thread Gonzo Rock

Just finished a huge migration to CF11 and there were multiple locations
where cfhtmlhead are used... and a new one added during migration. No
problems with that. Perhaps more details?

On Thu, Oct 16, 2014 at 9:34 AM, Dave Sueltenfuss dsueltenf...@gmail.com
wrote:


 I'm working on a migration from CF9 to CF 11, and for some reason
 CFHTMLHEAD is not working for me. Has anyone else run into this?

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359477
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhtmlhead and webservice woe

2006-07-26 Thread Rick Root
Brad Wood wrote:
 Ok, so I've got ajaxcfc running pretty smoothly, but I still need some
 help with my major catching point-cfhtmlhead.

Don't use CFHTMLHEAD in your application.cfm or whatever then.  Or, if 
you do, wrap code around it that causes it *NOT* to happen on ajax calls.

cfif refindnocase(\.cfc,CGI.SCRIPT_NAME) is 0
cfhtmlhead ...
/cfif

Maybe that'd help.

Rick

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247792
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfhtmlhead and webservice woe

2006-07-26 Thread Ken Ferguson
That's funny, in CFAjax this doesn't cause a problem at all. I was just 
blogging about using firebug and noticed how it comes back differently 
in the response, so that preceding script blocks don't break the return.

http://www.fergusonhouse.com/blog/index.cfm/2006/7/26/firebug-cfajax

One of the other guys here at the office was having trouble trying to 
use AjaxCFC and when we looked at the response in firebug, you could see 
the differences in the response that was messing things up. Try looking 
at your posts and responses in firebug and you'll see the difference 
too. My coworker is planning to jump into the AjaxCFC code and fix this, 
but has yet to find the time.

*
Ken Ferguson
214.636.6126
*






Brad Wood wrote:
 Ok, so I've got ajaxcfc running pretty smoothly, but I still need some
 help with my major catching point-cfhtmlhead.

  

 As part of my CFC, I cfsavecontent a page from our application and
 return the html to stick in an the innerHTML of a div on the ajax page.
 Our application uses cfhtmlhead a lot to stick javascript in the head of
 the document for various reasons.  The problem is that CF appends the
 htmlhead information to the top of the return value that my CFC sends
 back to the browser and that really screws stuff up.  Ajaxcfc sees this
 coming back from the webservice:

  

  

 script language=JavaScript1.2 type=text/javascript

 !--

 This comes from the cfhtmlhead tag and totally screws up
 ajaxcfc

 --

 /script

  

 _4304_1153931164505 = 'This is my content being returned';

 DWREngine._handleResponse('4304_1153931164505', _4304_1153931164505);

  

 So the obvious answer here is probably Don't use cfhtmlhead you idiot,
 but I'm trying to NOT have to write as much as my application as
 possible-I want a scalable fix that will still let me include or
 cfmodule any page in my app and simply return the resulting HTML from
 the CFC.  I can find every instance of cfhtmlhead and put an if
 statement around it or something, that that sounds like a kludgy fix.  



 Is there a pretty way to handle this?

  

 ~Brad

 



 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247793
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTMLHEAD data

2004-05-13 Thread Nathan Strutz
#GetPageContext().getOut().getString()#

will return all of the rendered output thus far in a string. You can 
parse through that yourself to find the head section and see what's in 
there.

-nathan strutz
http://www.dopefly.com/

Tim Blair wrote:
 Morning...
 
 Is there any way that I can get hold of the data currently in the
 CFHTMLHEAD buffer that will be output as the page is rendered/delivered?
 
 Tim.

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: CFHTMLHEAD data

2004-05-13 Thread Jim McAtee
I'm in the same situation (CF 5) and need to be able to have several tags
used in the course of generating a single page alter the contents.

If I can't get access to the data, what I'm thinking of doing is keeping
any data destined for the HTML headers in my own request scope variable
and then flushing it with a single call to cfhtmlhead in onrequestend.cfm.

Shouldn't the data be available as a named variable while CF is generating
the page output?

- Original Message - 
From: Tim Blair [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 4:39 AM
Subject: CFHTMLHEAD data

 Morning...

 Is there any way that I can get hold of the data currently in the
 CFHTMLHEAD buffer that will be output as the page is rendered/delivered?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFHTMLHEAD and appearance of HTTP header code in page

2002-10-14 Thread James Ang

Ah. I remember this. I wrote an internal paper for MedSeek regarding
this bug. :P

This only happens under these conditions:
1) MS Internet Explorer as the browser.
2) CFLOCATION is called AFTER CFHTMLHEAD has been called. To be really
sure, I think CFHTMLHead should not be in the same CFM Template as the
call to CFLOCATION, but I am not sure if this is really a factor.
3) Tested to exist in CF5. Have not tested with MX.

Timeline of how this happens:
1) Browser makes request for the CFM that has CFHTMLHead and CFLOCATION.
2) Server executes CFHTMLHead and store the string in a special
buffer.
3) Server executes CFLOCATION, dumps the buffer in 2 to the output
buffer, then dumps the standard HTTP header and HTML text (for
backwards compatibility for braindead browsers such as Mosaic 2.0) for a
HTTP 302 (Object Moved).
4) The HTTP header in 3 miscalculates the length of the HTTP payload,
and only accounted for the HTML text in 3, and not the other stuff in 2
(the CFHTMLHead buffer). Hence, the Content-Length header is totally
wrong.
5) MS I.E. thinking it is all hot and cool, decided to TRUST the
Content-Length in 4, and clears its buffer by the amount specified in
Content-Length, and hence, did not clear the CFHTMLHead stuff that it
received from the server.
6) Then MS I.E. dutifully picked up the following page based on the
Location HTTP header, and then dumped everything to the HTML rendering
engine which includes the HTML from the final page prepended with the
uncleared buffer in 2.

Hence, you get the junky stuff on top of the page.

Lesson? Try not to use CFHTMLHead until you are really really sure that
it is the FINAL page and the user won't be redirected.

The problem does not exist for Mozilla based browsers because I think
Mozilla wipes the buffer regardless of the value in content-length. :P
Maybe that's why Mozilla is so slow

And now, maybe Macromedia will fix this bug since it is easily
reproducible.


James Ang
Programmer
MedSeek, Inc.
[EMAIL PROTECTED]






-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]] 
Sent: Monday, October 14, 2002 9:55 AM
To: CF-Talk
Subject: CFHTMLHEAD and appearance of HTTP header code in page


Can someone help?! I'm *sure* this topic was just discussed here, but I
can't find it on the list archives...

Basically, I'm getting some broken bits of code at the top of a certain
page, a mangled JS script and some of the HTTP header, like this:

Script type=text/javascript
[ ... full JS script ... ]
   /script
  HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Mon, 14 Oct 2002 16:42:38 GMT
Connection: close
Content-type: text/html

*Then* the page code proper starts, with html and so on. The JS code
that
gets mangled and inserted at the top of the page is inserted with
CFHTMLHEAD, and does actually appear further down in its proper place.

It works fine on my local CFMX, the live server is CF4.0, though... Can
anyone point out that obvious little thing that's probably just been
pointed
out on the list that'll fix the problem?!

TIA,

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFHTMLHEAD and appearance of HTTP header code in page

2002-10-14 Thread Gyrus

Many thanks, James, your reply will be a useful reference for the future!

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: cfhtmlhead

2002-09-27 Thread John Beynon

You tried cf_htmlhead instead? I had some issues with quotes etc in the
cfhtmlhead tag and htmlhead solved it...

Pretty sure that allows you do to:
cf_htmlhead
...javascript here
/cf_htmlhead

HTH,

John.

-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]] 
Sent: 27 September 2002 17:09
To: CF-Talk
Subject: cfhtmlhead


oi CF-Talk,!!

  I've got a tag that says this:
  cfhtmlhead text='SCRIPT LANGUAGE=JavaScript
TYPE=text/javascriptwindow.open(../index.cfm,mainApp,width=+parseIn
t(screen.availWidth * .90)+,height=+parseInt(screen.availHeight *
90)+,status=yes,top=0,left=0,resizable);/SCRIPT'

  but when the page is processed all that shows is:
  SCRIPT LANGUAGE=JavaScript TYPE=text/javascriptvoid(0);
/SCRIPT


  any ideas?



  --
  Critz
   Macromedia Certified Advanced ColdFusion Developer
   CFX_BotMaster Network=Efnet
 Channel=ColdFusion Blog=http://blog.ctzc.com;



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhtmlhead

2002-09-27 Thread Kreig Zimmerman

And if you don't want to use a custom tag, and have CF 5, you can use 
CFSAVECONTENT to define your header info.

Try:

CFSAVECONTENT VARIABLE=goesinHead
SCRIPT TYPE=text/javascript // LANGUAGE attribute is redundant and has been 
deprecated
window.open(../index.cfm,mainApp,width=+parseInt(screen.availWidth * 
.90)+,height=+parseInt(screen.availHeight *
90)+,status=yes,top=0,left=0,resizable);
/SCRIPT
/CFSAVECONTENT
CFHTMLHEAD TEXT=#goesinHead#

..depending on your app design, you may have to include cfoutput tags 
around the SCRIPT in the CFSAVECONTENT area.

John Beynon wrote:

You tried cf_htmlhead instead? I had some issues with quotes etc in the
cfhtmlhead tag and htmlhead solved it...

Pretty sure that allows you do to:
cf_htmlhead
   ...javascript here
/cf_htmlhead

HTH,

John.

-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]] 
Sent: 27 September 2002 17:09
To: CF-Talk
Subject: cfhtmlhead


oi CF-Talk,!!

  I've got a tag that says this:
  cfhtmlhead text='SCRIPT LANGUAGE=JavaScript
TYPE=text/javascriptwindow.open(../index.cfm,mainApp,width=+parseIn
t(screen.availWidth * .90)+,height=+parseInt(screen.availHeight *
90)+,status=yes,top=0,left=0,resizable);/SCRIPT'

  but when the page is processed all that shows is:
  SCRIPT LANGUAGE=JavaScript TYPE=text/javascriptvoid(0);
/SCRIPT


  any ideas?



  --
  Critz
   Macromedia Certified Advanced ColdFusion Developer
   CFX_BotMaster Network=Efnet
 Channel=ColdFusion Blog=http://blog.ctzc.com;




__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-09-27 Thread Gaulin, Mark

Try using text= and not text=''.  You can get the double quotes in a
quoted string by doubling them up (so text=a string with another string
in it)

-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:09 PM
To: CF-Talk
Subject: cfhtmlhead


oi CF-Talk,!!

  I've got a tag that says this:
  cfhtmlhead text='SCRIPT LANGUAGE=JavaScript
TYPE=text/javascriptwindow.open(../index.cfm,mainApp,width=+parseIn
t(screen.availWidth * .90)+,height=+parseInt(screen.availHeight *
90)+,status=yes,top=0,left=0,resizable);/SCRIPT'

  but when the page is processed all that shows is:
  SCRIPT LANGUAGE=JavaScript TYPE=text/javascriptvoid(0);
/SCRIPT


  any ideas?



  --
  Critz
   Macromedia Certified Advanced ColdFusion Developer
   CFX_BotMaster Network=Efnet
 Channel=ColdFusion Blog=http://blog.ctzc.com;



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-09-27 Thread mynews

I usually do this:

cfsavecontent variable=script

  SCRIPT LANGUAGE=JavaScript TYPE=text/javascript

  window.open(../index.cfm,mainApp,width=+parseInt(screen.availWidth 
* .90)+,height=+parseInt(screen.availHeight *90)+,status=yes,top=0,left=0,r
esizable);

  /SCRIPT
/cfsavecontent
cfhtmlhead text=#script#

David Murphy
www.cfugcny.org



= = = Original message = = =

Try using text= and not text=''.  You can get the double quotes 
in a
quoted string by doubling them up (so text=a string with another 
string
in it)

-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:09 PM
To: CF-Talk
Subject: cfhtmlhead


oi CF-Talk,!!

  I've got a tag that says this:
  cfhtmlhead text='SCRIPT LANGUAGE=JavaScript
TYPE=text/javascriptwindow.open(../index.cfm,mainApp,width=+parseIn
t(screen.availWidth * .90)+,height=+parseInt(screen.availHeight 
*
90)+,status=yes,top=0,left=0,resizable);/SCRIPT'

  but when the page is processed all that shows is:
  SCRIPT LANGUAGE=JavaScript TYPE=text/javascriptvoid(0);
/SCRIPT


  any ideas?



  --
  Critz
   Macromedia Certified Advanced ColdFusion Developer
   CFX_BotMaster Network=Efnet
 Channel=ColdFusion Blog=http://blog.ctzc.com;




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-09-27 Thread Gaulin, Mark

That's a nice trick for handling long strings.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 2:32 PM
To: CF-Talk
Subject: RE: cfhtmlhead


I usually do this:

cfsavecontent variable=script

  SCRIPT LANGUAGE=JavaScript TYPE=text/javascript

  window.open(../index.cfm,mainApp,width=+parseInt(screen.availWidth 
* .90)+,height=+parseInt(screen.availHeight
*90)+,status=yes,top=0,left=0,r
esizable);

  /SCRIPT
/cfsavecontent
cfhtmlhead text=#script#

David Murphy
www.cfugcny.org



= = = Original message = = =

Try using text= and not text=''.  You can get the double quotes 
in a
quoted string by doubling them up (so text=a string with another 
string
in it)

-Original Message-
From: Critter [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:09 PM
To: CF-Talk
Subject: cfhtmlhead


oi CF-Talk,!!

  I've got a tag that says this:
  cfhtmlhead text='SCRIPT LANGUAGE=JavaScript
TYPE=text/javascriptwindow.open(../index.cfm,mainApp,width=+parseIn
t(screen.availWidth * .90)+,height=+parseInt(screen.availHeight 
*
90)+,status=yes,top=0,left=0,resizable);/SCRIPT'

  but when the page is processed all that shows is:
  SCRIPT LANGUAGE=JavaScript TYPE=text/javascriptvoid(0);
/SCRIPT


  any ideas?



  --
  Critz
   Macromedia Certified Advanced ColdFusion Developer
   CFX_BotMaster Network=Efnet
 Channel=ColdFusion Blog=http://blog.ctzc.com;





__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-03-11 Thread Brian Scandale

Yeah, I thought of that except that the header gets parsed BEFORE I know what I want 
in the body tag... The cfincludes after the header might require the body onload 
statement...

Just like before I know what I'll put into the head tag the head is created... 
therefore the cfhtmlhead is a great tag... just need one for the body tag too!

thanks,




At 03:00 AM 3/11/02 -0500, you wrote:
Well, you could do something like this in your pages.

cfset variables.JavaHeader = 1

cfinclude template=incHeader.cfm

cfhtmlhead text=blah blah blah


Then in your incHeader.cfm, put something like this.

cfif isDefined(Variables.JavaHeader)
  body onLoad=JavaScriptFunctionCall()
cfelse
  body
/cfif

If you define variables.JavaHeader, it'll include it, if not it won't.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Brian Scandale [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 2:49 AM
To: CF-Talk
Subject: Re: cfhtmlhead


Sometimes I want to use cfhtmlhead to push some JavaScript into the
head tag.

Then in the body tag I want to include
onLoad=JavaScriptFunctionCall().

However, the body is part of the incHeader.cfm which is included on ALL
pages I'm using... so I need a way to place it there in a dynamic way.



At 01:09 AM 3/11/02 -0500, you wrote:
cfoutput :)

What are you trying to accomplish?

jon
Brian Scandale wrote:
 Is there a similar tag to cfhtmlhead that is used to add content
into the body tag?
 
 Can't seem to find it if it exists
 
 thanks,
 Brian
 
 



__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhtmlhead

2002-03-11 Thread Jim McAtee

Either call the incHeader.cfm as a CF tag with an optional parameter, or
else set a variable before the cfinclude.  Within the body tag in that file,
look for the variable.  The variable could contain text to be inserted into
the body tag, or it could define the entire tag.

cfset bodytagtext = 'onLoad=JavaScriptFunctionCall()'
cfinclude template=incHeader.cfm

In incHeader.cfm:

cfparam name=bodytagtext default=
body text=black bgcolor=whitecfif Len(bodytagtext)
cfoutput#bodtytagtext#/cfoutput

Jim


- Original Message -
From: Brian Scandale [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 12:49 AM
Subject: Re: cfhtmlhead


 Sometimes I want to use cfhtmlhead to push some JavaScript into the
head tag.

 Then in the body tag I want to include
onLoad=JavaScriptFunctionCall().

 However, the body is part of the incHeader.cfm which is included on ALL
pages I'm using... so I need a way to place it there in a dynamic way.



 At 01:09 AM 3/11/02 -0500, you wrote:
 cfoutput :)
 
 What are you trying to accomplish?
 
 jon
 Brian Scandale wrote:
  Is there a similar tag to cfhtmlhead that is used to add content into
the body tag?
 
  Can't seem to find it if it exists
 
  thanks,
  Brian

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-03-11 Thread Steve Oliver

Yeah, I thought of that except that the header gets parsed BEFORE I know
what I want in the body tag... The cfincludes after the header might
require the body onload statement...
-
If you set the variable BEFORE you use the cfinclude tag, the header
get's parsed AFTER you set the variable.



_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Brian Scandale [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 3:29 AM
To: CF-Talk
Subject: RE: cfhtmlhead


Yeah, I thought of that except that the header gets parsed BEFORE I know
what I want in the body tag... The cfincludes after the header might
require the body onload statement...

Just like before I know what I'll put into the head tag the head is
created... therefore the cfhtmlhead is a great tag... just need one for
the body tag too!

thanks,




At 03:00 AM 3/11/02 -0500, you wrote:
Well, you could do something like this in your pages.

cfset variables.JavaHeader = 1

cfinclude template=incHeader.cfm

cfhtmlhead text=blah blah blah


Then in your incHeader.cfm, put something like this.

cfif isDefined(Variables.JavaHeader)
  body onLoad=JavaScriptFunctionCall()
cfelse
  body
/cfif

If you define variables.JavaHeader, it'll include it, if not it
won't.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Brian Scandale [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 2:49 AM
To: CF-Talk
Subject: Re: cfhtmlhead


Sometimes I want to use cfhtmlhead to push some JavaScript into the
head tag.

Then in the body tag I want to include
onLoad=JavaScriptFunctionCall().

However, the body is part of the incHeader.cfm which is included on ALL
pages I'm using... so I need a way to place it there in a dynamic way.



At 01:09 AM 3/11/02 -0500, you wrote:
cfoutput :)

What are you trying to accomplish?

jon
Brian Scandale wrote:
 Is there a similar tag to cfhtmlhead that is used to add content
into the body tag?
 
 Can't seem to find it if it exists
 
 thanks,
 Brian
 
 




__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhtmlhead

2002-03-11 Thread Brian Scandale

Hummm Ok.

I'm going to have to dig a bit I'm using the fusebox methodology and incHeader is 
part of my first index.cfm which includes everything else necessary.

Let me see what I can do here.

thanks,
til tomorrow

Brian

At 01:09 AM 3/11/02 -0700, you wrote:
Either call the incHeader.cfm as a CF tag with an optional parameter, or
else set a variable before the cfinclude.  Within the body tag in that file,
look for the variable.  The variable could contain text to be inserted into
the body tag, or it could define the entire tag.

cfset bodytagtext = 'onLoad=JavaScriptFunctionCall()'
cfinclude template=incHeader.cfm

In incHeader.cfm:

cfparam name=bodytagtext default=
body text=black bgcolor=whitecfif Len(bodytagtext)
cfoutput#bodtytagtext#/cfoutput

Jim


- Original Message -
From: Brian Scandale [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 12:49 AM
Subject: Re: cfhtmlhead


 Sometimes I want to use cfhtmlhead to push some JavaScript into the
head tag.

 Then in the body tag I want to include
onLoad=JavaScriptFunctionCall().

 However, the body is part of the incHeader.cfm which is included on ALL
pages I'm using... so I need a way to place it there in a dynamic way.



 At 01:09 AM 3/11/02 -0500, you wrote:
 cfoutput :)
 
 What are you trying to accomplish?
 
 jon
 Brian Scandale wrote:
  Is there a similar tag to cfhtmlhead that is used to add content into
the body tag?
 
  Can't seem to find it if it exists
 
  thanks,
  Brian


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhtmlhead

2002-03-10 Thread Jon Hall

cfoutput :)

What are you trying to accomplish?

jon
Brian Scandale wrote:
 Is there a similar tag to cfhtmlhead that is used to add content into the body 
tag?
 
 Can't seem to find it if it exists
 
 thanks,
 Brian
 
 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhtmlhead

2002-03-10 Thread Brian Scandale

Sometimes I want to use cfhtmlhead to push some JavaScript into the head tag.

Then in the body tag I want to include onLoad=JavaScriptFunctionCall().

However, the body is part of the incHeader.cfm which is included on ALL pages I'm 
using... so I need a way to place it there in a dynamic way.



At 01:09 AM 3/11/02 -0500, you wrote:
cfoutput :)

What are you trying to accomplish?

jon
Brian Scandale wrote:
 Is there a similar tag to cfhtmlhead that is used to add content into the body 
tag?
 
 Can't seem to find it if it exists
 
 thanks,
 Brian
 
 

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-03-10 Thread Steve Oliver

Well, you could do something like this in your pages.

cfset variables.JavaHeader = 1

cfinclude template=incHeader.cfm

cfhtmlhead text=blah blah blah


Then in your incHeader.cfm, put something like this.

cfif isDefined(Variables.JavaHeader)
  body onLoad=JavaScriptFunctionCall()
cfelse
  body
/cfif

If you define variables.JavaHeader, it'll include it, if not it won't.

_
steve oliver
senior internet developer
atnet solutions, inc.
http://www.atnetsolutions.com


-Original Message-
From: Brian Scandale [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 2:49 AM
To: CF-Talk
Subject: Re: cfhtmlhead


Sometimes I want to use cfhtmlhead to push some JavaScript into the
head tag.

Then in the body tag I want to include
onLoad=JavaScriptFunctionCall().

However, the body is part of the incHeader.cfm which is included on ALL
pages I'm using... so I need a way to place it there in a dynamic way.



At 01:09 AM 3/11/02 -0500, you wrote:
cfoutput :)

What are you trying to accomplish?

jon
Brian Scandale wrote:
 Is there a similar tag to cfhtmlhead that is used to add content
into the body tag?
 
 Can't seem to find it if it exists
 
 thanks,
 Brian
 
 


__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2002-01-10 Thread Dave Watts

 I have a question about the *ultra* nifty CF tag - cfhtmlhead.
 
 I have several blocks of code (specifically style sheets) and 
 I would like to include in my html rendered documents. I 
 currently use cfhtmlhead to accomplish this and was wondering 
 if there was a mechanism that would allow me to control the 
 order these blocks are included in the html rendered page. 
 Are the included on a first come, first included basis, or 
 are they controlled by some other methodology? Can I specify 
 the order of these?

I think that CF puts each one right before the closing HEAD tag in the order
that you specify them.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTMLHEAD

2001-03-27 Thread Howarth, Craig (IBK-NY)

Use single quotes in the alert() or use a custom tag to implement CFHTMLHEAD the way 
it should have been done:

cfif thistag.ExecutionMode IS "end"
cfhtmlhead text="#thistag.GeneratedContent#"
cfset thistag.GeneratedContent = ""
/cfif

Save this in a file called htmlhead.cfm and change your code to:

cf_htmlhead
  script
  !-- Hide the script from old browsers --
  function loadalert ()
  {alert("Your Message to Mike was sent.")
  }
  // --End Hiding Here --
  /script
/cf_htmlhead

Then you don't need to worry about the quotes.

Craig

 -Original Message-
 From: Brian Thornton [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, March 27, 2001 3:22 PM
 To:   CF-Talk
 Subject:  CFHTMLHEAD
 
   CFHTMLHEAD TEXT="
   script
   !-- Hide the script from old browsers --
   function loadalert ()
   {alert("Your Message to Mike was sent.")
   }
   // --End Hiding Here --
   /script
   "
 
 I get the error "Just in time compilation error
 
 An unknown attribute 'Your' has been encountered at document position
 (22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
 the following attributes:
 
 TEXT
 The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
 document position (18:3) to (18:13)."
 
 If I remove the quotes from ("Your Message to Mike was sent.") It's fine but
 the the alert doesn't happen
 
 Any ideas I tread quot;
 
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTMLHEAD

2001-03-27 Thread David E. Crawford

Caused by the use of double quotes in your "Alert" call. Either use all
single quotes or use the CF_HTMLHEADBLOCK custom tag from the Developer's
exchange which allows you to bracket the text you want put in the header.

DC
- Original Message -
From: "Brian Thornton" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 15:22
Subject: CFHTMLHEAD


   CFHTMLHEAD TEXT="
   script
   !-- Hide the script from old browsers --
   function loadalert ()
   {alert("Your Message to Mike was sent.")
   }
   // --End Hiding Here --
   /script
   "

 I get the error "Just in time compilation error

 An unknown attribute 'Your' has been encountered at document position
 (22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
 the following attributes:

 TEXT
 The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
 document position (18:3) to (18:13)."

 If I remove the quotes from ("Your Message to Mike was sent.") It's fine
but
 the the alert doesn't happen

 Any ideas I tread quot;




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTMLHEAD

2001-03-27 Thread Bob Silverberg

Did you try a single quote?

-Original Message-
From: Brian Thornton [mailto:[EMAIL PROTECTED]]
Sent: March 27, 2001 3:22 PM
To: CF-Talk
Subject: CFHTMLHEAD


  CFHTMLHEAD TEXT="
  script
  !-- Hide the script from old browsers --
  function loadalert ()
  {alert("Your Message to Mike was sent.")
  }
  // --End Hiding Here --
  /script
  "

I get the error "Just in time compilation error

An unknown attribute 'Your' has been encountered at document position
(22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
the following attributes:

TEXT
The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
document position (18:3) to (18:13)."

If I remove the quotes from ("Your Message to Mike was sent.") It's fine but
the the alert doesn't happen

Any ideas I tread quot;
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTMLHEAD

2001-03-27 Thread Dan Allison

Try single quotes around your alert message.

Dan

-Original Message-
From: Brian Thornton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 3:22 PM
To: CF-Talk
Subject: CFHTMLHEAD


  CFHTMLHEAD TEXT="
  script
  !-- Hide the script from old browsers --
  function loadalert ()
  {alert("Your Message to Mike was sent.")
  }
  // --End Hiding Here --
  /script
  "

I get the error "Just in time compilation error

An unknown attribute 'Your' has been encountered at document position
(22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
the following attributes:

TEXT
The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
document position (18:3) to (18:13)."

If I remove the quotes from ("Your Message to Mike was sent.") It's fine but
the the alert doesn't happen

Any ideas I tread quot;
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTMLHEAD

2001-03-27 Thread Tim Painter

Change your double quotes to a single quote (the ones that open and close
your heading text)

  CFHTMLHEAD TEXT='
  script
  !-- Hide the script from old browsers --
  function loadalert ()
  {alert("Your Message to Mike was sent.")
  }
  // --End Hiding Here --
  /script
  '
- Original Message -
From: "Brian Thornton" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 3:22 PM
Subject: CFHTMLHEAD


   CFHTMLHEAD TEXT="
   script
   !-- Hide the script from old browsers --
   function loadalert ()
   {alert("Your Message to Mike was sent.")
   }
   // --End Hiding Here --
   /script
   "

 I get the error "Just in time compilation error

 An unknown attribute 'Your' has been encountered at document position
 (22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
 the following attributes:

 TEXT
 The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
 document position (18:3) to (18:13)."

 If I remove the quotes from ("Your Message to Mike was sent.") It's fine
but
 the the alert doesn't happen

 Any ideas I tread quot;




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTMLHEAD

2001-03-27 Thread Jay Patton

maybe this:
'Your Message to Mike was sent.'
instead of:
"Your Message to Mike was sent."

???

Jay Patton
Web Design / Application Design
Web Pro USA
p. 406.549.3337 ext. 203
p. 1.888.5WEBPRO ext. 203
e. [EMAIL PROTECTED]
url. www.webpro-usa.com
- Original Message -
From: "Brian Thornton" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 1:22 PM
Subject: CFHTMLHEAD


   CFHTMLHEAD TEXT="
   script
   !-- Hide the script from old browsers --
   function loadalert ()
   {alert("Your Message to Mike was sent.")
   }
   // --End Hiding Here --
   /script
   "

 I get the error "Just in time compilation error

 An unknown attribute 'Your' has been encountered at document position
 (22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
 the following attributes:

 TEXT
 The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
 document position (18:3) to (18:13)."

 If I remove the quotes from ("Your Message to Mike was sent.") It's fine
but
 the the alert doesn't happen

 Any ideas I tread quot;




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTMLHEAD

2001-03-27 Thread Brian Thornton

You have to double quote instead of single quote
- Original Message -
From: "Brian Thornton" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, March 27, 2001 12:22 PM
Subject: CFHTMLHEAD


   CFHTMLHEAD TEXT="
   script
   !-- Hide the script from old browsers --
   function loadalert ()
   {alert("Your Message to Mike was sent.")
   }
   // --End Hiding Here --
   /script
   "

 I get the error "Just in time compilation error

 An unknown attribute 'Your' has been encountered at document position
 (22:15) to (22:18) while processing tag CFHTMLHEAD. This tag can only take
 the following attributes:

 TEXT
 The last successfully parsed CFML construct was a CFHTMLHEAD tag occupying
 document position (18:3) to (18:13)."

 If I remove the quotes from ("Your Message to Mike was sent.") It's fine
but
 the the alert doesn't happen

 Any ideas I tread quot;




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhtmlhead

2000-10-05 Thread Zachary Bedell

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Something like this:

html
head
blahblah
/head
body
blahblah
cfhtmlhead text="titleWhatever/title"
/body
/html

You could potentially figure out the title for the page from a DB
query or other operation and add it into the heading after you've
sent out the htmlhead.../head bit.

A pratical example:  You're displaying pages results and you want the
title to be something like:
titleYourSiteHere -- Displaying X to y of Z results/title

Chances are you might have to send out your page header before you
know the counts of items, so CFHTMLHEAD saves you there:
cfhtmlhead text="titleYourSiteHere -- Displaying #FirstRecord# to
#LastRecord of #TotalRecords# results/title"

It's also useful for sticking JavaScript into the head section
after the fact.

Best regards,
Zac Bedell

 -Original Message-
 From: wpdd [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 05, 2000 1:40 PM
 To: CF-Talk
 Subject: cfhtmlhead
 
 
 Does anyone examples of good uses for this tag ?
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit 
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=list
 s/cf_talk or send a message to 
 [EMAIL PROTECTED] with 'unsubscribe' in the body.
 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.8 for non-commercial use http://www.pgp.com

iQA/AwUBOdzNyAraVoMWBwRBEQKOdgCg9Dt0i8BEIFA6R7HAhF/aGiDefCoAoIT5
HD6WCiOhxtTfDEqx1dDqB//U
=WfKG
-END PGP SIGNATURE-
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: cfhtmlhead

2000-10-05 Thread Eric Dawson

move javascript to header


From: "wpdd" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Subject: cfhtmlhead
Date: Thu, 5 Oct 2000 13:39:37 -0400

Does anyone examples of good uses for this tag ?
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: cfhtmlhead

2000-10-05 Thread Dave Watts

 Does anyone examples of good uses for this tag?

Sure. It's very handy for adding META tags or JavaScript function blocks to
the right part of the page.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: cfhtmlhead

2000-10-05 Thread Jaime Garza

One good example.  And one bad example (of side effects)

1 Good example

suppose you are writing this custom tag and you would like to have a piece
of script appear in the head/head area, just to be nice and orderly.
Well, use cfhtmlhead.  You have no access to the main page positioning
otherwise, unless you are also the owner of the main page calling your
custom tag.

This is in fact what happens when you use cfinput validate="date" for
example.  cfinput internally must use cfhtmlhead.  Magically it appears in
your code in the right place (use view source and you will see.)

Nice!

2. Bad example

Nothing too bad, you just need to be aware of the side effect.

What CF seems to do is keep this text buffer you specify, and hold it until
the last part of the CF processing.  When all is done, CF will scan the
output stream for the LAST /head in the code and insert this buffer RIGHT
THERE.  The problem is, if you are doing syndication and grabbing html
contents from another place, it may come with head/head itself without
you even knowing it.  It usually does not matter to IE or Netscape.  But it
matters to CF.

see this:

cfquery name="foo" datasource="whatever"select bigtext from contenttable
whereid=1/cfquery
html
head/head
body
  table
tr
  td
cfoutput#foo.bigtext#/cfoutput   here is the problem
  /td
/tr
  /Table
/body
/html

If by any chance #foo.bigtext# contains something that looks like a /head
it will insert your code there!  I even tried !--/head-- in the database
and it stills puts the code inside the comment.

I suspect that this multiple pass to the output stream is partially at fault
of why CF cannot flush the output while it is produced, the way ASP does it,
sending chunks of output while process is still pending.  It needs the whole
string first.

Jaime/



 -Original Message-
 From: wpdd [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 05, 2000 10:40 AM
 To: CF-Talk
 Subject: cfhtmlhead


 Does anyone examples of good uses for this tag ?
 --
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: cfhtmlhead

2000-10-05 Thread Ed Toon

 I suspect that this multiple pass to the output stream is partially at
fault
 of why CF cannot flush the output while it is produced, the way ASP does
it,
 sending chunks of output while process is still pending.  It needs the
whole
 string first.

If this is the case, it'd be neat if I could just build a string, flush it
out and go about my business...

cfset pageoutput = "bodyAdding you to the database. Congrats./body"
cfset WriteOutputAndFlush(pageoutput)

cfquery name="addThisFool" ...

Ed

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTMLHEAD and CSV

2000-07-11 Thread Dave Watts

 In Application.cfm I call CFHTMLHEAD to link in my style sheet.
 I have a page which uses CFCONTENT and CFHEADER to write a CSV file.
 The problem is that the link tag gets written to this CSV file.
 Obviously I only want it written to HTML pages.

You'll have to put your CFCONTENT page in a subfolder that doesn't use the
same application.cfm file.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.