Folks,

I was looking into reactor generated code (while trying to figure out another problem) and saw these statements in the DAO object(s)

<cfqueryparam cfsqltype="cf_sql_numeric" maxlength="22"  value="#arguments.to.QUESTION_ID#" null="#Iif(NOT Len( arguments.to.QUESTION_ID), DE(true), DE(false))#" />

AFAIK, IIF is considered evil and should be avoided. Would it make sence if we can modify the dao.project.xsl to replace this

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

with this

null="#YesNoFormat( NOT len( trim( arguments.to.<xsl:value-of select="@alias" />) ) GT 0 )#"

Thanks,






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

Reply via email to