Posted Monday, June 10, 2013 @ 12:19:01
I have a problem with a checkbox column, are unchecked by default, but when trying to save data into database I get an error saying that the value of the checkbox is null (should be false), and the db does not allow null values this field. Thanks for your attention.
Column c= dBTable1.getColumn(2);
Hashtable<String, Boolean> h = new Hashtable<String, Boolean>();
h.put("true",new Boolean(true));
h.put("false", new Boolean(false));
dBTable1.setCellComponent(c,Column.CHECKBOX_CELL,h);