Re: Problems verifying integers

2012-05-22 Thread Mary Jo Sminkey
Here you go if you want to vote on it: https://bugbase.adobe.com/index.cfm?event=bugid=3169196 Thought I'd post a followup on this, Adobe closed it saying they wouldn't fix this because it would cause backward compatibility issues. Personally I can't imagine using isValid(integer) and

How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
Hi, all... I've got a cfhtmlhead tag set up in my application CFC that defines some JS variables for CF use and vice-versa. They're inserted into the head of every page. I noticed, when running an sequence involving an HTML form - jQuery ajax call - CFC method - and JSON data return, that the

query of query strange error

2012-05-22 Thread fun and learning
Hi All- I am facing a strange error with query of query as follows: I am first constructing a query using 'QueryNew' as Cfset newQuery = QueryNew(id, status, label, name) the status column is a numeric column in database with values of 1,2,3,4,5,6 and NULL When I do a query of query as

Re: query of query strange error

2012-05-22 Thread Christopher Watson
Use the optional second argument to QueryNew to explicitly define the data types for each column. -Christopher Hi All- I am facing a strange error with query of query as follows: I am first constructing a query using 'QueryNew' as Cfset newQuery = QueryNew(id, status, label, name)

Re: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Raymond Camden
On Tue, May 22, 2012 at 1:26 PM, Rick Faircloth r...@whitestonemedia.com wrote: Is there any way to prevent the JS being output using cfsavecontent and a variable in the CFC from ending up in the JSON data return? Sure. In your onRequestStart, simply check the requested file. If it ends in

Re: Coldfusion Hosting

2012-05-22 Thread John Drake
I'm using Hosting A to Z http://www.hostingatoz.com/colfusion-shared-hosting.php and Hostek. I'm grandfathered in to an Atoz plan that is a wallet busting $8 for the entire year. I have no idea what sort of bandwidth requirements you have but it looks like you could get 3 CF sites for $90 a

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
I figured it would be something straight-forward like that. :o) Thanks, Ray! Rick -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, May 22, 2012 3:09 PM To: cf-talk Subject: Re: How to prevent cfhtmlhead content from being inserted into cfmail...

Re: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Andrew Scott
Rick that might be a good case to think about the application, and one reason why you need to keep things out of the Application.cfc that really don't need to be there. If you must continue with it, then you might need to look for a conditional statement to not include the JS etc for the

Excel 2003/2007 Recalculating Interaction

2012-05-22 Thread Dave Phillips
Hi all, I'm working with Excel using the Spreadsheet functions in CF 9. I have some weird behavior going on with formulas, and I have a workaround, but I don't like it, so I'm looking for some direction. I have an Excel 2007 spreadsheet. The spreadsheet has simple formulas on it that sum

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
I need variables like these (these are just part of the variables) on every page of the site, useable as CF and JS variables: cfsavecontent variable = jsVariables !--- [ js version of cf variables ] --- cfset js_sitename =

Re: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Matt Quackenbush
It would be much better to use an include for your HTML head (in your layout template) than to use cfhtmlhead in the app CFC. Also, there is no reason to set all of those 'js_whatever' variables. Just output #application.whatever# in the js. Your include file might look something like so: head

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
Just output #application.whatever# in the js. Seems like when I first started trying to use CF variables in JS, I couldn't. I'll have to revisit this approach. So each page (or layout) simply does a cfinclude tempate=/includes/html_head.cfm /. But with this approach, I still have to type

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
One problem I can see with this approach is created because of the way I set up my files. A page and its accompanying individual js and css files (no, I don't create a single monster js or css file, but rather many smaller ones inside module folders that contain the .cfm, .cfc, .css, and .js

Re: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Matt Quackenbush
If you used a front controller, you'd only have to type it once (per layout/theme). :-) Setting variables in onRequestStart() is perfectly fine and dandy. It's often a problem when you use onRequestStart() to *render output*, though. (Yes, technically speaking, cfhttphead doesn't render output

Re: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Matt Quackenbush
There are lots of ways to create a title variable. It really depends upon how you have your application architecture setup. :-) title#myBadAssPageTitle#/title On Tue, May 22, 2012 at 5:52 PM, Rick Faircloth r...@whitestonemedia.comwrote: One problem I can see with this approach is created

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
Ray, can you (or any of your other guys) give me an example of how to code to check the requested file ??? And I'm not sure what file I'm actually checking for. You mentioned checking to see if the requested file is a .cfc, but my code for this problem flows from a .cfm to a .js, then to a

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
If every page has a different title, then there has to be a title variable set for each page *somewhere*... I've never used an include for the entire head portion of a page, so, it really depends upon how have your application architecture setup is lost on me, since I'm not familiar with the

Re: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Raymond Camden
On Tue, May 22, 2012 at 6:14 PM, Rick Faircloth r...@whitestonemedia.com wrote: Ray, can you (or any of your other guys) give me an example of how to code to check the requested file ??? onRequestStart is passed one attribute, the name of the file being requested. You can use list functions

RE: How to prevent cfhtmlhead content from being inserted into cfmail...

2012-05-22 Thread Rick Faircloth
Well, apparently, I can conditionally comment out any of the CF based on the requesting file. However, the JS isn't affected by the conditional comments and still shows up in the JSON, causing the JS to stop processing. Once I remove the JS, the processing occurs normally. Looks like I'm going