Package org.richfaces.ui.component.html

Examples of org.richfaces.ui.component.html.HtmlInsert


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInsert comp = (HtmlInsert) component;
              
            if (this._encoding != null) {
        if (this._encoding.isLiteralText()) {
          try {
                       
            java.lang.String __encoding = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._encoding.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEncoding(__encoding);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("encoding", this._encoding);
        }
      }
                        
            if (this._errorContent != null) {
        if (this._errorContent.isLiteralText()) {
          try {
                       
            java.lang.String __errorContent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._errorContent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setErrorContent(__errorContent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("errorContent", this._errorContent);
        }
      }
                         
            if (this._highlight != null) {
        if (this._highlight.isLiteralText()) {
          try {
                       
            java.lang.String __highlight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlight(__highlight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlight", this._highlight);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInsert comp = (HtmlInsert) component;
              
            if (this._encoding != null) {
        if (this._encoding.isLiteralText()) {
          try {
                       
            java.lang.String __encoding = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._encoding.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEncoding(__encoding);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("encoding", this._encoding);
        }
      }
                        
            if (this._errorContent != null) {
        if (this._errorContent.isLiteralText()) {
          try {
                       
            java.lang.String __errorContent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._errorContent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setErrorContent(__errorContent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("errorContent", this._errorContent);
        }
      }
                         
            if (this._highlight != null) {
        if (this._highlight.isLiteralText()) {
          try {
                       
            java.lang.String __highlight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlight(__highlight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlight", this._highlight);
View Full Code Here

TOP

Related Classes of org.richfaces.ui.component.html.HtmlInsert

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.