checkbox.setValue(true);
} else if (value == true) {
// if a new checkbox is added automatically check it and fire a
// change event
checkbox.setValue(true);
checkbox.fireEvent(new ValueChangeEvent<Boolean>(true) {
});
}
if (checkbox.getText()!=null && checkbox.getText().length()!=0) {
wrapper.add(checkbox);
wrapper.add(fix);