Re: Validating that only .5 decimal gets through?

2010-02-19 Thread Greg Morphis
That works unless you try something like 2.05 isValid : #isValid# isValid : YES but should fail On Sat, Feb 20, 2010 at 1:28 AM, Kevan Stannard wrote: > > This might do: > > > > > On 20 February 2010 17:41, Marie Taylore wrote: > >> >> I have an app that I need to validate that they enter

Re: Validating that only .5 decimal gets through?

2010-02-19 Thread Kevan Stannard
This might do: On 20 February 2010 17:41, Marie Taylore wrote: > > I have an app that I need to validate that they enter either whole numbers > (1,2,3, etc.) or if they DO enter a decimal, it can only be in half > increments, so 2.5 is okay, but not 2.1, 2.2, 2.25, etc. Of course, 2.0 > wou

Re: Validating that only .5 decimal gets through?

2010-02-19 Thread Greg Morphis
I like Jerry's answer but this works too #i# works no workie so basically you're subtracting the integer value from the value and if the remainder equals 0 or .5 then it succeeds.. if not then fails On Sat, Feb 20, 2010 at 12:46 AM, Jerry Johnson wrote: > > multiple by 2, and check i

Re: Validating that only .5 decimal gets through?

2010-02-19 Thread Jerry Johnson
multiple by 2, and check if it is a whole number? On Sat, Feb 20, 2010 at 1:41 AM, Marie Taylore wrote: > > I have an app that I need to validate that they enter either whole numbers > (1,2,3, etc.) or if they DO enter a decimal, it can only be in half > increments, so 2.5 is okay, but not 2.1,

Validating that only .5 decimal gets through?

2010-02-19 Thread Marie Taylore
I have an app that I need to validate that they enter either whole numbers (1,2,3, etc.) or if they DO enter a decimal, it can only be in half increments, so 2.5 is okay, but not 2.1, 2.2, 2.25, etc. Of course, 2.0 would be okay too, so .0 after the number is fine. Is there a good way to chec

Re: Problems with JQUERY in IE 8

2010-02-19 Thread James Holmes
Can I ask why you'd set returnType to JSON and then go to the trouble of building a string instead of letting the CFC do the work and actually return the JSON from your data? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ On 20 February 2010 05:26, Chad McCue w

Re: (ot) Google Analytics

2010-02-19 Thread Jerry Johnson
http://seojeff.com/2008/04/03/tracking-data-for-multiple-google-analytics-accounts-on-one-page/ On Fri, Feb 19, 2010 at 10:48 PM, Rick Root wrote: > > Hey all, > > I'm helping run a large web site that hosts many sites using virtual > domains. Each site is different though built on the same f

(ot) Google Analytics

2010-02-19 Thread Rick Root
Hey all, I'm helping run a large web site that hosts many sites using virtual domains. Each site is different though built on the same file structure. Users can choose templates, they build their own content, etc. Users often put google analytics code on their own sites, but we don't do any ov

Re: jquery find/replace on an entire body DOM

2010-02-19 Thread Will Tomlinson
>It sounds like you're talking about jQuery manipulating jQuery code? > Andy, this seems to do the trick with grabbing my code string. var htmlStr = $(':input').append($(':input').clone()).remove().html(); Thanks, Will

Serious, intermittent problem with CF Web Service

2010-02-19 Thread Leon Miller-Out
Howdy, CFers! We've got an incredibly frustrating situation with a CF Web Services-based API that we wrote and maintain. We had an API in place for years that was stable and working happily with Ruby, PHP, and ColdFusion clients. Then this year a .NET client came along, and we found that our we

Re: Webservice and TCPMonitor

2010-02-19 Thread denstar
On Thu, Feb 18, 2010 at 3:55 PM, John M Bliss wrote: > > Hm.  That doesn't come with CFBuilder standalone.  Anyone know how to add it > in? That monitor *I think* comes with WTP (webtools) as part of the Server Tools stuff. There's this other standalone deal: http://www.membrane-soa.org/soap-mo

CF 6 mx and ActivePDF

2010-02-19 Thread Peter Cronin
Anybody running templates with ColdFusion and ActivePDF. I am testing out ActivePDF for a project and have run the basic tests ok. But I am haveing trouble using METHODS, specifically this one: WG.FontHeading1('Script', 1,0, 0, 0, 0) I can't figure out how to invoke it. I know for the propert

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> > CFHTTP can access anything a browser on the same machine can access, > > ... except if the site checks if the IP address requested the form > before it receives the action request. > In this case, one should at least request the form page first. As mentioned previously, the form will have to

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> I see this site doesn't appear to use cookies (at least on this page) as > reported by the Web Developer Firefox add-on.  I put together a test > page but it's throwing an error from their site.  I faked a name for the > lastname/first initial combinations.  I looked through the url  string > bu

Re: Using CFHTTP to access a website

2010-02-19 Thread Claude Schnéegans
>>CFHTTP can access anything a browser on the same machine can access, ... except if the site checks if the IP address requested the form before it receives the action request. In this case, one should at least request the form page first. ~~

Re: jquery find/replace on an entire body DOM

2010-02-19 Thread Will Tomlinson
>It sounds like you're talking about jQuery manipulating jQuery code? > Not in these cases. This is some legacy JS in our onclicks.They must remain, but they contain mappings that I need to do the exact same thing we did realier in the form action. The code to be manipulated looks somethin like

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Hi Dorioo, Interesting code. The big difference I see is that in this instance I don't need to log on. Will take a look at it and see if I can use it. Thanks! --Ben Dorioo wrote: > I've had good results using the project below. Maybe it can help you. > > http://www.bennadel.com/projects/cfh

Re: Using CFHTTP to access a website

2010-02-19 Thread Dorioo
I've had good results using the project below. Maybe it can help you. http://www.bennadel.com/projects/cfhttp-session.htm - Gabriel On Fri, Feb 19, 2010 at 5:49 PM, Ben Conner wrote: > > Hi Dave, > > I see this site doesn't appear to use cookies (at least on this page) as > reported by the Web

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Hi Dave, I see this site doesn't appear to use cookies (at least on this page) as reported by the Web Developer Firefox add-on. I put together a test page but it's throwing an error from their site. I faked a name for the lastname/first initial combinations. I looked through the url string

RE: Problems with JQUERY in IE 8

2010-02-19 Thread Steve Keator
Are there any types of J/S errors making themselves known in IE8? I've seen this type of behavior in the past, and usually it comes down to being something such as a comma being out of place or other little syntax error that FF knows how to handle but IE doesn't. -S. -Original Message--

Problems with JQUERY in IE 8

2010-02-19 Thread Chad McCue
http://www.datatables.net/ I am currently using the above URL that will handle my data results set. Works fine in Firefox but will return no data in IE. Here is my implementation. Calling page $(document).ready(function() { resultTable = $('##example').dataTable ( { "sPagina

Re: CF8/Vista 64 debug output not showing up

2010-02-19 Thread Mary Jo Sminkey
Not sure where my earlier reply to this went, but the list (online at least) was being a little wonky yesterday so I'll try again... >I wonder if you have the right check boxes checked (They are different between >the 2). In CF7 it's "enable debugging" but in CF 8 It says "enable request >debugg

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> Thanks, Dave!  How does CFHTTP manage cookies? It doesn't. You have to do that yourself. You can read cookies set in an HTTP request using CFHTTP.responseHeader, then write them for subsequent responses using CFHTTPPARAM. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://traini

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Ah. Never mind the cookie response. Found a previous post explaining it. My apologies. --Ben Ben Conner wrote: > Hi, > > I have a list of names from a database I want to bounce off of a search > function on a website. I threw together a test of one name/initial > combination in a CFHTTP c

Re: Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Thanks, Dave! How does CFHTTP manage cookies? --Ben Dave Watts wrote: >> I have a list of names from a database I want to bounce off of a search >> function on a website. I threw together a test of one name/initial >> combination in a CFHTTP call and it threw an error. >> >> The page is locate

Re: Using CFHTTP to access a website

2010-02-19 Thread Dave Watts
> I have a list of names from a database I want to bounce off of a search > function on a website.  I threw together a test of one name/initial > combination in a CFHTTP call and it threw an error. > > The page is located at > http://www.azcorrections.gov/inmate_datasearch/Index_Minh.aspx.  If you

Using CFHTTP to access a website

2010-02-19 Thread Ben Conner
Hi, I have a list of names from a database I want to bounce off of a search function on a website. I threw together a test of one name/initial combination in a CFHTTP call and it threw an error. The page is located at http://www.azcorrections.gov/inmate_datasearch/Index_Minh.aspx. If you

RE: jquery find/replace on an entire body DOM

2010-02-19 Thread Andy Matthews
It sounds like you're talking about jQuery manipulating jQuery code? Onclicks created by jQuery are assigned after the DOM is loaded, and wouldn't be found in the rendered HTML code. If the action attribute of the form is abc.xyz in HTML, and then you run your code to make it abc.xyz?something=el

Re: RE: Where to encrypt - cf or db or both?

2010-02-19 Thread Dave Watts
> However, I do not feel "walk away from the client" is necessarily the right > answer here or very constructive. I mean - cripes - can't we just explore it > from an academic perspective?? What if I want to store "something else" as > securely as credit card data. Like a cookie recipe. Then you

Re: is there a safe way to save an object/cfc loaded into the app scope into the session scope?

2010-02-19 Thread crippe crippe
Thank you all very very much. This was extremely helpful info! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups

Re: jquery find/replace on an entire body DOM

2010-02-19 Thread Will Tomlinson
>Anything you could do to make jQuery have to do less work will be >beneficial. > Andy, This works great for form actions. I've played around with doing the exact same thing for any inputs with onclick attributes. But JQ doesn't seem to select up the value of the onclick. Do you have any ideas

Re: Where to encrypt - cf or db or both?

2010-02-19 Thread Dave Watts
> I'm not trying to get around HIPAA, PCI or Sarbane-Oxley - or anything else. > I am trying to explore how I may use their standards to develop something to > fit within their guidelines. I was wondering what it would actually take to > do that. Preferably without a 3rd party... > > I thought per

Re: more debugging info needed

2010-02-19 Thread denstar
Any decent XML editor will tell you where the error is. There's a couple kick'n ones for Eclipse that let you run XPath expressions against the live file, and highlights what would be selected, etc.. (besides the simple parsing). I think one is done by the dude who does QuickREx, and the other i

Re: Mac II or ColdSpring

2010-02-19 Thread denstar
If you're going to be doing a lot of report type stuff, I'd recommend looking at JasperServer. It's the bee's knees. Exports in PDF, Excel, RTF, blah, blah, blah. You can run the reports from ColdFusion too, either using the JasperServer webservice or just running the reports "by hand" using a

RE: Where to encrypt - cf or db or both?

2010-02-19 Thread Eric Nicholas Sweeney
Actually Juda - I was very appreciative of your time and have been examining and researching some of the methods you discuss. I'm sorry you feel otherwise. Your was the first answer that actually got into some of the nuts and bolts... That is why I specifically asked about how the public/private k

Re: is there a safe way to save an object/cfc loaded into the app scope into the session scope?

2010-02-19 Thread Kevan Stannard
Take a look at this to give you some ideas on working with application and session data: http://learn.objectorientedcoldfusion.org/wiki/Accessing_a_Users_Session_Data Kevan On 19 February 2010 17:22, crippe crippe

Re: Where to encrypt - cf or db or both?

2010-02-19 Thread Judah McAuley
On Thu, Feb 18, 2010 at 9:58 PM, Eric Nicholas Sweeney wrote: > Someone mentions CC's or SSN's and everyone freaks out and tells you to call > their lawyer. Well - ok - that's all fine and dandy - point taken - let's > move on - that kind of talk doesn't really address the honest question of  -

RE: more debugging info needed

2010-02-19 Thread Bobby
You could always save an xml file and open it in IE... one of the few things it is good for. -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Friday, February 19, 2010 12:32 PM To: cf-talk Subject: Re: more debugging info needed I don't know if that was the a

Re: more debugging info needed

2010-02-19 Thread Gerald Guido
I don't know if that was the answer you were looking for. When the debugging info does not give me useful information I generally when trying to tease out offending items I used divide and conquer method. Take 1/2 of the of the offending code/data/string etc. in iterations until you isolate the of

Re: more debugging info needed

2010-02-19 Thread Gerald Guido
You probably have a stray & in the xml. The XmlFormat() function should clean that up. Like so: #XmlFormat(YourXMLString)# On Fri, Feb 19, 2010 at 11:48 AM, Don wrote: > > I am utilising XML parse ( when CF encounters a bum XML file it throws CF > error ). But I've found the information retur

more debugging info needed

2010-02-19 Thread Don
I am utilising XML parse ( when CF encounters a bum XML file it throws CF error ). But I've found the information returned is very limited. For example - 'The entity name must immediately follow the '&' in the entity reference.' - Obviously it would be nice to have more specific information suc

more debugging info needed

2010-02-19 Thread Don
I am utilising XML parse ( when CF encounters a bum XML file it throws CF error ). But I've found the information returned is very limited. For example - 'The entity name must immediately follow the '&' in the entity reference.' - Obviously it would be nice to have more specific information suc

Re: Where to encrypt - cf or db or both?

2010-02-19 Thread Casey Dougall
On Thu, Feb 18, 2010 at 5:44 PM, Matthew Smith wrote: > > I want to encrypt billing information an ecommerce app. I know the > argument > against storing it, and we are considering not storing it. But I just want > to explore options. > > So I can encrypt in cf with aes, or in sql server with a

Re: Where to encrypt - cf or db or both?

2010-02-19 Thread Cameron Childress
On Thu, Feb 18, 2010 at 7:26 PM, Eric Nicholas Sweeney wrote: > To me, recommending a service is like answering the question "How do you > hammer a nail?" with the answer being "Hire a contractor." It's more like saying "I plan on building an entire house, and then I plan to store a million doll

Re: is there a safe way to save an object/cfc loaded into the app scope into the session scope?

2010-02-19 Thread Dominic Watson
> If I load CFC's into my application scope using create object, should they only contain methods and not properties, as any properties altered by one user would affect all other users accessing the cfc? Not neccessarily, no. There are plenty of objects that might belong in the application scope

Re: is there a safe way to save an object/cfc loaded into the app scope into the session scope?

2010-02-19 Thread James Holmes
You are right, any properties you alter in an application scoped object will be set for all users. If you need a copy for every user, the application scope is the wrong place. The session scope is a per-user scope. Try the Duplicate() function to get a copy from an instantiated object. YMMV. mxA

Re: is there a safe way to save an object/cfc loaded into the app scope into the session scope?

2010-02-19 Thread crippe crippe
Ah right, ok. So a follow up question: If I load CFC's into my application scope using create object, should they only contain methods and not properties, as any properties altered by one user would affect all other users accessing the cfc? Additionally, once you've instantiated a copy into th