@Override public void setModel(final FORM_MODEL model) { binder.setModel(model); newModel = false; validator.clearFieldErrors(); updateNestedModels(true); }
public boolean validate() { final boolean isValid = validator.validate(binder.getWorkingModel()); final boolean extraValidations = doExtraValidations(); return isValid && extraValidations; }