gk_sezhian
Posts: 2
|
Posted: 03/09/2008, 4:02 AM |
|
Hi
Iam Using JSP -Sql Server. In a Editable grid the checkbox value is not seem to be checked
when the DB value is 1.
Updating is working fine.The issue is with checkbox is not getting the DB values reflected.
Please do advice on this.
Thanks in Advance
_________________
SarGow |
|
|
gk_sezhian
Posts: 2
|
Posted: 03/09/2008, 4:11 AM |
|
To add to my previous post, The DB column Iam looking up from the check box is a BIT.\\
Front End: JSP
Back End: SQL SERVER
Control Type : Check Box
Mapped DB Column: Bit
Issue: Checkbox is getting populated with check mark when DB Column value is 1
Thanks
_________________
SarGow |
|
|
matheus
Posts: 386
|
Posted: 03/11/2008, 4:38 AM |
|
Hi, I have same problem, it's about case sensitive. I change some CCS generated code.
in class Checkbox.java
the method getFormattedValue, change the line:
if ( v != null && v.toString().equals( checkedValue.toString() )) {
to:
if ( v != null && v.toString().equalsIgnoreCase( checkedValue.toString() )) {
This works for me, in CCS version 3.
_________________
Matheus Trevizan
Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br |
|
|
|