Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlDataDefinitionList


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataDefinitionList comp = (HtmlDataDefinitionList) component;
            
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                          
            if (this._first != null) {
        if (this._first.isLiteralText()) {
          try {
                       
            Integer __first = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._first.getExpressionString(),
                      Integer.class);
         
                        comp.setFirst(__first.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("first", this._first);
        }
      }
                                
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                           
            if (this._rowKey != null) {
        if (this._rowKey.isLiteralText()) {
          try {
                       
            java.lang.Object __rowKey = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowKey.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setRowKey(__rowKey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowKey", this._rowKey);
        }
      }
                        setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                
            if (this._rows != null) {
        if (this._rows.isLiteralText()) {
          try {
                       
            Integer __rows = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rows.getExpressionString(),
                      Integer.class);
         
                        comp.setRows(__rows.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rows", this._rows);
        }
      }
                            
            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);
        }
      }
                        
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataDefinitionList comp = (HtmlDataDefinitionList) component;
            
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                          
            if (this._first != null) {
        if (this._first.isLiteralText()) {
          try {
                       
            Integer __first = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._first.getExpressionString(),
                      Integer.class);
         
                        comp.setFirst(__first.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("first", this._first);
        }
      }
                                
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                           
            if (this._rowKey != null) {
        if (this._rowKey.isLiteralText()) {
          try {
                       
            java.lang.Object __rowKey = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowKey.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setRowKey(__rowKey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowKey", this._rowKey);
        }
      }
                        setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                
            if (this._rows != null) {
        if (this._rows.isLiteralText()) {
          try {
                       
            Integer __rows = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rows.getExpressionString(),
                      Integer.class);
         
                        comp.setRows(__rows.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rows", this._rows);
        }
      }
                            
            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);
        }
      }
                        
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataDefinitionList comp = (HtmlDataDefinitionList) component;
            
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                          
            if (this._first != null) {
        if (this._first.isLiteralText()) {
          try {
                       
            Integer __first = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._first.getExpressionString(),
                      Integer.class);
         
                        comp.setFirst(__first.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("first", this._first);
        }
      }
                                
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                           
            if (this._rowKey != null) {
        if (this._rowKey.isLiteralText()) {
          try {
                       
            java.lang.Object __rowKey = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowKey.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setRowKey(__rowKey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowKey", this._rowKey);
        }
      }
                        setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                
            if (this._rows != null) {
        if (this._rows.isLiteralText()) {
          try {
                       
            Integer __rows = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rows.getExpressionString(),
                      Integer.class);
         
                        comp.setRows(__rows.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rows", this._rows);
        }
      }
                            
            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);
        }
      }
                        
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here

TOP

Related Classes of org.richfaces.component.html.HtmlDataDefinitionList

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.