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

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

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

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

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

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

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:

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

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

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

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

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

RE: cfhtmlhead

2002-03-11 Thread Brian Scandale
://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

Re: cfhtmlhead

2002-03-11 Thread Jim McAtee
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

RE: cfhtmlhead

2002-03-11 Thread Steve Oliver
. _ 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

Re: cfhtmlhead

2002-03-11 Thread Brian Scandale
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

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

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.

RE: cfhtmlhead

2002-03-10 Thread Steve Oliver
: 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

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

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

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:

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

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 ()

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

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

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 --

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

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 ?

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

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

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

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