示例#1
0
 @Override
 public void setModel(final FORM_MODEL model) {
   binder.setModel(model);
   newModel = false;
   validator.clearFieldErrors();
   updateNestedModels(true);
 }
示例#2
0
  public boolean validate() {

    final boolean isValid = validator.validate(binder.getWorkingModel());

    final boolean extraValidations = doExtraValidations();

    return isValid && extraValidations;
  }