Is there a simple way to make cfwddx tag a CF variable as Boolean? If the
value of a variable is simply "TRUE" or "FALSE", cfwddx just creates a
string value out of it. However, if you use an isSomething() function, the
XML in the WDDX packet will show that the value is Boolean.
Example:
This:
Plain Text:
HTML: <cfset bMyVar = TRUE>
Will give me:
Plain Text: <cfset bMyVar = TRUE>
HTML: <var name='BMYVAR'><string>TRUE</string></var>
But:
Plain Text: <cfset iif(TRUE,"bMyVar = isBoolean(TRUE)","bMyVar =
isBoolean('non-boolean')")>
HTML: <cfset iif(TRUE,"bMyVar = isBoolean(TRUE)","bMyVar =
isBoolean('non-boolean')")>
Gives me:
Plain Text: <var name='BMYVAR'><boolean value='true'/></var>
HTML: <var name='BMYVAR'><boolean value='true'/></var>
Any ideas on an easier way to make cfwddx recognize Boolean variables would
be appreciated.
Thanks!
Jason Aden
webworld studios, Inc.
[EMAIL PROTECTED]
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.