Package org.richfaces.component

Examples of org.richfaces.component.UIGraphValidator


  @Override
  protected void onComponentCreated(FaceletContext ctx, UIComponent c,
      UIComponent parent) {
    super.onComponentCreated(ctx, c, parent);
    if (c instanceof UIGraphValidator) {
      UIGraphValidator graphValidator = (UIGraphValidator) c;
      if(null != _profiles){
        if (_profiles.isLiteral()) {
          graphValidator.setProfiles(AjaxRendererUtils.asSet(_profiles.getValue()));
        } else {
          graphValidator.setValueExpression("profiles", _profiles.getValueExpression(ctx, Set.class));
        }
      }
     
    }
  }
View Full Code Here

TOP

Related Classes of org.richfaces.component.UIGraphValidator

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.