Entries Tagged as 'Coldfusion'

Validate "numeric" for cfinput does not work with $

I noticed a strange behavior with ColdFusion 9 and maybe earlier versions where using the validate attribute set to numeric will not show an error with a $ in the input. All three validations, onBlur, onSubmit, and onServer allow a input value to contain a $ in the text field. Is this by design and am I misunderstanding something? I tested the same thing in Railo 3.1 and the validation showed an error when I submitted a $ sign in the input. I did learn that Railo does not allow for the validateAt attribut with the input tag and defaults to onSubmit validation, but the validate="numeric" did properly work when submitting the form. A bug?

Setting session cookies to have the httpOnly attribute with ColdFusion 9.0.1

For a site that falls under PCI compliance scans you will need to have session cookies that have the httpOnly attribute set. With the release of the ColdFusion 9.0.1 release it is now much easier to have your session cookies to contain the httpOnly attribute.

CF 9.0.1 upgrade woes

When the ColdFusion 9.0.1 upgrade was released, I noticed a few blog and forum posts mentioning issues. I also noticed many people reporting no problems at all, so I decided to wait for a little while. It seems that the comments and talked died down over the last week so I decided to take the plunge today. The new feature of setting cfid, cftoken, and jsessionid as httponly is something I need so, that pushed me to take a chance.

Top Five Scripting languages on the JVM.

InfoWorld published an article today titled, "Top five scripting languages on the JVM" and I thought some might be interested in taking a look. They mention ColdFusion near the beginning, though they call it Cold Fusion, but state that the article only is going to discuss free, open source languages. It would have been nice if they would have included Railo in their comparison. Oh well...

Breakdown of the MyRides homepage

My blog post this evening will talk about the current homepage of my MyRides application that I am working on using CfWheels. The homepage currently shows some statistics about all of my rides as a whole and a data grid that shows all of the individual rides and allows the user to click on any ride to see a detailed view. I needed to create a controller cfc, a view file and a default layout to make this page work.