...
You could do something like this in your valueChangeListener?
public void checkboxValueChanged(ValueChangeEvent event) {
Boolean oldValue = (Boolean)event.getOldValue();
Boolean newValue = (Boolean)event.getNewValue();
Boolean modelValue = this.getCheckboxValue();
this.recordOldValue(oldValue);
this.recordNewValue(newValue);
}
Regards,
Jeff Bischoff
Kenneth L Kurz & Associates, Inc.
Shibi Thomas wrote:
Hi
I need to keep track of both the old value and new value in a
h:selectBooleanCheckbox.
How do i do this using valuechangelistener??
--
Kind Regards
Shibi Thomas
Rom 12:21 Do not be overcome by evil, but overcome evil with good.