Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlToolBar


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolBar comp = (HtmlToolBar) component;
             
            if (this._contentClass != null) {
        if (this._contentClass.isLiteralText()) {
          try {
                       
            java.lang.String __contentClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentClass(__contentClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentClass", this._contentClass);
        }
      }
                        
            if (this._contentStyle != null) {
        if (this._contentStyle.isLiteralText()) {
          try {
                       
            java.lang.String __contentStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentStyle(__contentStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentStyle", this._contentStyle);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._itemSeparator != null) {
        if (this._itemSeparator.isLiteralText()) {
          try {
                       
            java.lang.String __itemSeparator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemSeparator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemSeparator(__itemSeparator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemSeparator", this._itemSeparator);
        }
      }
                          
            if (this._onitemclick != null) {
        if (this._onitemclick.isLiteralText()) {
          try {
                       
            java.lang.String __onitemclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemclick(__onitemclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemclick", this._onitemclick);
        }
      }
                        
            if (this._onitemdblclick != null) {
        if (this._onitemdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onitemdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemdblclick(__onitemdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemdblclick", this._onitemdblclick);
        }
      }
                        
            if (this._onitemkeydown != null) {
        if (this._onitemkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeydown(__onitemkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeydown", this._onitemkeydown);
        }
      }
                        
            if (this._onitemkeypress != null) {
        if (this._onitemkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeypress(__onitemkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeypress", this._onitemkeypress);
        }
      }
                        
            if (this._onitemkeyup != null) {
        if (this._onitemkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeyup(__onitemkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeyup", this._onitemkeyup);
        }
      }
                        
            if (this._onitemmousedown != null) {
        if (this._onitemmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmousedown(__onitemmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmousedown", this._onitemmousedown);
        }
      }
                        
            if (this._onitemmousemove != null) {
        if (this._onitemmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmousemove(__onitemmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmousemove", this._onitemmousemove);
        }
      }
                        
            if (this._onitemmouseout != null) {
        if (this._onitemmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseout(__onitemmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseout", this._onitemmouseout);
        }
      }
                        
            if (this._onitemmouseover != null) {
        if (this._onitemmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseover(__onitemmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseover", this._onitemmouseover);
        }
      }
                        
            if (this._onitemmouseup != null) {
        if (this._onitemmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseup(__onitemmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseup", this._onitemmouseup);
        }
      }
                                 
            if (this._separatorClass != null) {
        if (this._separatorClass.isLiteralText()) {
          try {
                       
            java.lang.String __separatorClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._separatorClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSeparatorClass(__separatorClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("separatorClass", this._separatorClass);
        }
      }
                          
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolBar comp = (HtmlToolBar) component;
             
            if (this._contentClass != null) {
        if (this._contentClass.isLiteralText()) {
          try {
                       
            java.lang.String __contentClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentClass(__contentClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentClass", this._contentClass);
        }
      }
                        
            if (this._contentStyle != null) {
        if (this._contentStyle.isLiteralText()) {
          try {
                       
            java.lang.String __contentStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentStyle(__contentStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentStyle", this._contentStyle);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._itemSeparator != null) {
        if (this._itemSeparator.isLiteralText()) {
          try {
                       
            java.lang.String __itemSeparator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemSeparator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemSeparator(__itemSeparator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemSeparator", this._itemSeparator);
        }
      }
                          
            if (this._onitemclick != null) {
        if (this._onitemclick.isLiteralText()) {
          try {
                       
            java.lang.String __onitemclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemclick(__onitemclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemclick", this._onitemclick);
        }
      }
                        
            if (this._onitemdblclick != null) {
        if (this._onitemdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onitemdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemdblclick(__onitemdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemdblclick", this._onitemdblclick);
        }
      }
                        
            if (this._onitemkeydown != null) {
        if (this._onitemkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeydown(__onitemkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeydown", this._onitemkeydown);
        }
      }
                        
            if (this._onitemkeypress != null) {
        if (this._onitemkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeypress(__onitemkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeypress", this._onitemkeypress);
        }
      }
                        
            if (this._onitemkeyup != null) {
        if (this._onitemkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeyup(__onitemkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeyup", this._onitemkeyup);
        }
      }
                        
            if (this._onitemmousedown != null) {
        if (this._onitemmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmousedown(__onitemmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmousedown", this._onitemmousedown);
        }
      }
                        
            if (this._onitemmousemove != null) {
        if (this._onitemmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmousemove(__onitemmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmousemove", this._onitemmousemove);
        }
      }
                        
            if (this._onitemmouseout != null) {
        if (this._onitemmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseout(__onitemmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseout", this._onitemmouseout);
        }
      }
                        
            if (this._onitemmouseover != null) {
        if (this._onitemmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseover(__onitemmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseover", this._onitemmouseover);
        }
      }
                        
            if (this._onitemmouseup != null) {
        if (this._onitemmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseup(__onitemmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseup", this._onitemmouseup);
        }
      }
                                 
            if (this._separatorClass != null) {
        if (this._separatorClass.isLiteralText()) {
          try {
                       
            java.lang.String __separatorClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._separatorClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSeparatorClass(__separatorClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("separatorClass", this._separatorClass);
        }
      }
                          
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

   
    headerSizeFont = headerSizeFont == null ? "11px" : headerSizeFont;
   
    headerSizeFont = headerSizeFont.substring(0, headerSizeFont.indexOf("px"));
   
    HtmlToolBar toolBar = new HtmlToolBar();
   
    byte [] data = (byte []) img.getDataToStore(facesContext, toolBar);
    assertNotNull(data);
    SeparatorData separatorData = (SeparatorData)img.deserializeData(data);   
   
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolBar comp = (HtmlToolBar) component;
             
            if (this._contentClass != null) {
        if (this._contentClass.isLiteralText()) {
          try {
                       
            java.lang.String __contentClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentClass(__contentClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentClass", this._contentClass);
        }
      }
                        
            if (this._contentStyle != null) {
        if (this._contentStyle.isLiteralText()) {
          try {
                       
            java.lang.String __contentStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentStyle(__contentStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentStyle", this._contentStyle);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._itemSeparator != null) {
        if (this._itemSeparator.isLiteralText()) {
          try {
                       
            java.lang.String __itemSeparator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemSeparator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemSeparator(__itemSeparator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemSeparator", this._itemSeparator);
        }
      }
                          
            if (this._onitemclick != null) {
        if (this._onitemclick.isLiteralText()) {
          try {
                       
            java.lang.String __onitemclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemclick(__onitemclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemclick", this._onitemclick);
        }
      }
                        
            if (this._onitemdblclick != null) {
        if (this._onitemdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onitemdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemdblclick(__onitemdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemdblclick", this._onitemdblclick);
        }
      }
                        
            if (this._onitemkeydown != null) {
        if (this._onitemkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeydown(__onitemkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeydown", this._onitemkeydown);
        }
      }
                        
            if (this._onitemkeypress != null) {
        if (this._onitemkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeypress(__onitemkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeypress", this._onitemkeypress);
        }
      }
                        
            if (this._onitemkeyup != null) {
        if (this._onitemkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __onitemkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemkeyup(__onitemkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemkeyup", this._onitemkeyup);
        }
      }
                        
            if (this._onitemmousedown != null) {
        if (this._onitemmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmousedown(__onitemmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmousedown", this._onitemmousedown);
        }
      }
                        
            if (this._onitemmousemove != null) {
        if (this._onitemmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmousemove(__onitemmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmousemove", this._onitemmousemove);
        }
      }
                        
            if (this._onitemmouseout != null) {
        if (this._onitemmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseout(__onitemmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseout", this._onitemmouseout);
        }
      }
                        
            if (this._onitemmouseover != null) {
        if (this._onitemmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseover(__onitemmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseover", this._onitemmouseover);
        }
      }
                        
            if (this._onitemmouseup != null) {
        if (this._onitemmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onitemmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemmouseup(__onitemmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemmouseup", this._onitemmouseup);
        }
      }
                                 
            if (this._separatorClass != null) {
        if (this._separatorClass.isLiteralText()) {
          try {
                       
            java.lang.String __separatorClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._separatorClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSeparatorClass(__separatorClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("separatorClass", this._separatorClass);
        }
      }
                          
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

TOP

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

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.