Package org.hdiv.validation

Examples of org.hdiv.validation.ValidationError


    // Search form component
    UIForm form = this.findParentForm(eventComp);

    // Validate request parameters
    ValidationError error = this.requestParamValidator.validate(context, form);
    if (error != null) {
      this.log(context, error);
      this.forwardToErrorPage(context, eventComp);
    }
View Full Code Here


    for (UIComponent uicomponent : component.getChildren()) {
      if (uicomponent instanceof HtmlInputHidden) {

        HtmlInputHidden hidden = (HtmlInputHidden) uicomponent;
        ValidationError error = this.htmlInputHiddenValidator.validate(context, hidden);
        if (error != null) {
          return error;
        }
      } else {
        ValidationError error = validateHiddens(context, uicomponent);
        if (error != null) {
          return error;
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.hdiv.validation.ValidationError

Copyright © 2018 www.massapicom. 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.