Cool, I didn't know that YesNoFormat("") resolved to no.
-----Original Message-----
From: James Holmes [mailto:[email protected]]
Sent: Thursday, October 15, 2009 9:38 AM
To: cf-talk
Subject: Re: cfprocparam - null setting
I'd use YesNoFormat() as I think it's more readable than NOT len(),
but the result is the same.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/10/15 DURETTE, STEVEN J (ATTASIAIT) <[email protected]>:
>
> You can only pass in things that resolve to true/false, zero/one,
> yes/no, etc.
>
> Using not len resolves to 0 (false) if there is a length and 1 (true)
if
> there is no length.
>
>
>
> -----Original Message-----
> From: Scott Stewart [mailto:[email protected]]
> Sent: Thursday, October 15, 2009 9:05 AM
> To: cf-talk
> Subject: RE: cfprocparam - null setting
>
>
> Can you pass anything other than true/false to the null parameter in
> cfprocparam?
>
> I know you can in cfqueryparam, but I was under the impression than in
> cfprocparam it's strictly true/false
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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/cf-talk/message.cfm/messageid:327243
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4