Hello,
In the next piece of code, if I click in “Cancel” button of confirm window, the “value” in execute method return a null value and not a false value but if I click in “OK” button, the return true value. Is it correct or “Cancel” buttom should return a false value ?
SC.confirm("Are you sure ?", new BooleanCallback() {
public void execute(Boolean value) {
if (value) {
fieldsBehavior(FLAG_CANCELAR);
} else {
event.cancel();
}
}
});
Regards.
Francisco.