Examples of validate()


Examples of de.innovationgate.wgpublisher.webtml.utils.TMLForm.validate()

            // if keepOnValidate is true and form was validated once and form was not validated
            // in this request
            if (form != null) {
                FormInfo formInfo = form.getforminfo();
                if (formInfo.isValidated() && formInfo.keepOnValidate() && !form.wasValidatedInThisRequest()) {
                    form.validate();
                }
            }
        }
       
        if (status._ajax) {
View Full Code Here

Examples of de.mhus.lib.form2.validation.Validator.validate()

        validator = (Validator) a.getObject(Validator.class,v);
      } catch (Exception e) {
        e.printStackTrace();
        return false;
      }
      if (validator != null && !validator.validate(this,element,value))
        return false;
    }
    return true;
  }
View Full Code Here

Examples of de.odysseus.calyxo.forms.Form.validate()

    if (form == null) {
      throw new ConfigException("No form for action '" + mapping.getPath() + "'");
    }
    ActionErrors errors = null;
    // execute validation
    FormResult result = form.validate(request, inputs);
    if (!result.isValid()) { // collect error messages
      errors = new ActionErrors();
      Messages messages = result.getMessages();
      Iterator names = messages.getKeys();
      while (names.hasNext()) {
View Full Code Here

Examples of de.odysseus.calyxo.forms.FormInput.validate()

      while (inputs.hasNext()) {
        FormInput input = (FormInput)inputs.next();
        if (input.isIgnored(resolver)) {
          result.add(new IgnoredFormInputResult(input, params));
        } else {
          result.add(input.validate(request, params, resolver));
        }
      }
    }

    if (asserts != null) {
View Full Code Here

Examples of de.sub.goobi.metadaten.MetadatenVerifizierung.validate()

    if (this.mySchritt.isTypBeimAbschliessenVerifizieren()) {
      /* Metadatenvalidierung */
      if (this.mySchritt.isTypMetadaten() && ConfigMain.getBooleanParameter("useMetadatenvalidierung")) {
        MetadatenVerifizierung mv = new MetadatenVerifizierung();
        mv.setAutoSave(true);
        if (!mv.validate(this.mySchritt.getProzess())) {
          return "";
        }
      }

      /* Imagevalidierung */
 
View Full Code Here

Examples of de.sub.goobi.metadaten.MetadatenVerifizierungWithoutHibernate.validate()

     * --------------------------------
     */

    if (ConfigMain.getBooleanParameter("useMetadatenvalidierung")) {
      MetadatenVerifizierungWithoutHibernate mv = new MetadatenVerifizierungWithoutHibernate();
      if (!mv.validate(gdzfile, this.myPrefs, process.getId(), process.getTitle())) {
        return false;

      }
    }

View Full Code Here

Examples of de.tobject.findbugs.properties.DetectorValidator.validate()

            }
            URI uri = new File(path).toURI();
            if(allPlugins.containsKey(uri)) {
                continue;
            }
            ValidationStatus status = validator.validate(path);
            if (status.isOK()) {
                addCustomPlugin(enabled, uri);
            } else {
                getDefault().getLog().log(status);
            }
View Full Code Here

Examples of de.zalando.sprocwrapper.SProcCall.validate()

            } else {
                useValidation = false;
            }

            // overwrite if explicitly set in SprocCall:
            if (scA.validate() == Validate.YES) {
                useValidation = true;
            } else if (scA.validate() == Validate.NO) {
                useValidation = false;
            }
View Full Code Here

Examples of de.zalando.sprocwrapper.SProcService.validate()

            boolean useValidation;
            if (serviceAnnotation != null) {

                // take validation settings from SProcService annotation:
                useValidation = serviceAnnotation.validate();
            } else {
                useValidation = false;
            }

            // overwrite if explicitly set in SprocCall:
View Full Code Here

Examples of dk.brics.xmlgraph.validator.Validator.validate()

                                            msg,
                                            formatExample(example));
                                    return true;
                                }
                            });
                  validator.validate(value_xg, type_xg, -1);
              }
              break;
          }
             
          case CLOSE:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.