Examples of HtmlGraphValidator


Examples of org.richfaces.component.html.HtmlGraphValidator

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlGraphValidator comp = (HtmlGraphValidator) component;
               
            if (this._profile != null) {
        if (this._profile.isLiteralText()) {
          try {
                       
            java.util.Set __profile = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._profile.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setProfile(__profile);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("profile", this._profile);
        }
      }
                         
            if (this._summary != null) {
        if (this._summary.isLiteralText()) {
          try {
                       
            java.lang.String __summary = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._summary.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSummary(__summary);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("summary", this._summary);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

Examples of org.richfaces.component.html.HtmlGraphValidator

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlGraphValidator comp = (HtmlGraphValidator) component;
               
            if (this._profile != null) {
        if (this._profile.isLiteralText()) {
          try {
                       
            java.util.Set __profile = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._profile.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setProfile(__profile);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("profile", this._profile);
        }
      }
                         
            if (this._summary != null) {
        if (this._summary.isLiteralText()) {
          try {
                       
            java.lang.String __summary = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._summary.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSummary(__summary);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("summary", this._summary);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

Examples of org.richfaces.component.html.HtmlGraphValidator

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlGraphValidator comp = (HtmlGraphValidator) component;
               
            if (this._profile != null) {
        if (this._profile.isLiteralText()) {
          try {
                       
            java.util.Set __profile = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._profile.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setProfile(__profile);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("profile", this._profile);
        }
      }
                         
            if (this._summary != null) {
        if (this._summary.isLiteralText()) {
          try {
                       
            java.lang.String __summary = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._summary.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSummary(__summary);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("summary", this._summary);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

Examples of org.richfaces.component.html.HtmlGraphValidator

  /* (non-Javadoc)
   * @see org.ajax4jsf.tests.AbstractAjax4JsfTestCase#setUp()
   */
  public void setUp() throws Exception {
    super.setUp();
    validator = new HtmlGraphValidator();
    validator.setId("validator");
    facesContext.getViewRoot().getChildren().add(validator);
  }
View Full Code Here

Examples of org.richfaces.component.html.HtmlGraphValidator

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlGraphValidator comp = (HtmlGraphValidator) component;
               
            if (this._profiles != null) {
        if (this._profiles.isLiteralText()) {
          try {
                       
            java.lang.Object __profiles = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._profiles.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProfiles(__profiles);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("profiles", this._profiles);
        }
      }
                         
            if (this._summary != null) {
        if (this._summary.isLiteralText()) {
          try {
                       
            java.lang.String __summary = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._summary.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSummary(__summary);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("summary", this._summary);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
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.