I was looking through my project dao's today in an attempt to debug
something and saw lots of IIF()'s within the cfqueryparams to evaluate
whether the field should be null.

from the xsl file..
null="#Iif(NOT Len(arguments.to.<xsl:value-of select="@alias" />), DE(true),
DE(false))#"

I don't think these are necessary, as could it not be written as

null="#NOT Len(arguments.to.<xsl:value-of select="@alias" />)#"

CF will return "Yes" or "No" for these expressions.  I think Railo/OpenBD
may return "true" / "false" IIRC
either way its still perfectly valid for the null attribute

Chris


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to