I am trying to bind a cfinput checkbox to CFGRID column with no luck.
<cfgridcolumn name="IS_RESTRICTED" display="false">
The value column in the grid contains 1 or 0. I have tried the cfinput
checkbox by hardcoding 1 and 0 through the attribute "checked and this works.
I have tried binding the cfinput as follows:
<cfinput name="formRestricted" type="checkbox"
checked="{documentGrid.selectedItem.Is_Restricted}" />
but I get:
"cannot convert the value "{documentGrid.selectedItem.Is_Restricted}" to a
boolean"
I would like to write the following and have it work but apparently the
bindattribute only works on cfinput text fields:
<cfinput name="formRestricted" bind="{documentGrid.Is_Restricted}"
bindattribute="checked" type="checkbox" />
Does anyone have any ideas on this?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304313
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4