On 9/20/05, Peter Hardy <[EMAIL PROTECTED]> wrote:
> I've created a transfer object that takes amongst others a couple of date
> parameters. Trouble is, they are optional parameters so sometimes they are a
> valid date and sometimes they are equal to "". If my cfargument type to date
> cf just throws an exception. 

Sometimes it's a valid date, but it's always a valid string, right?
Wouldn't it be appropriate to make the argument type string?

Patrick


-- 
Patrick McElhaney
704.560.9117
http://pmcelhaney.weblogs.us


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to