Viewing by month: January 2007

THE BLINK TAG SURVIVES!!!

BOOYAH!

15 comments | Posted by Daniel Short on Jan 9, 2007 at 12:00 AM | Categories: Rambling -

Not of type Numeric when it damn well is...

I have a problem, and it's ColdFusion... We're working on some complex object interaction, and moving data in and out of our objects. Part of the "moving in" part involves building out a structure of arguments based on query columns, and then passing them all in via the ArgumentCollection. Unfortunately, ColdFusion doesn't love us here at lynda.com... It's pitching a fit and saying that our IDs aren't of type numeric, when I know damn well that they are (grumble grumble)... To demonstrate my point I've come up with the following code example. This fails every time for me:

That generates the following error: The argument ID passed to function init() is not of type numeric. Has anyone else come across this same error? Is there some hotfix that fixes this? It's completely stymied our development... The only way around it is to set our arguments to accept type="any", which honestly is unacceptable...
14 comments | Posted by Daniel Short on Jan 4, 2007 at 12:00 AM | Categories: ColdFusion - Dreamweaver - Rambling -