Examples of HtmlModalPanel


Examples of org.richfaces.component.html.HtmlModalPanel

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlModalPanel comp = (HtmlModalPanel) component;
            
            if (this._autosized != null) {
        if (this._autosized.isLiteralText()) {
          try {
                       
            Boolean __autosized = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autosized.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutosized(__autosized.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autosized", this._autosized);
        }
      }
                         
            if (this._controlsClass != null) {
        if (this._controlsClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlsClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsClass(__controlsClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsClass", this._controlsClass);
        }
      }
                          
            if (this._domElementAttachment != null) {
        if (this._domElementAttachment.isLiteralText()) {
          try {
                       
            java.lang.String __domElementAttachment = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._domElementAttachment.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDomElementAttachment(__domElementAttachment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("domElementAttachment", this._domElementAttachment);
        }
      }
                         
            if (this._headerClass != null) {
        if (this._headerClass.isLiteralText()) {
          try {
                       
            java.lang.String __headerClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._headerClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeaderClass(__headerClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("headerClass", this._headerClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            Integer __height = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      Integer.class);
         
                        comp.setHeight(__height.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                          
            if (this._keepVisualState != null) {
        if (this._keepVisualState.isLiteralText()) {
          try {
                       
            Boolean __keepVisualState = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._keepVisualState.getExpressionString(),
                      Boolean.class);
         
                        comp.setKeepVisualState(__keepVisualState.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("keepVisualState", this._keepVisualState);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._left != null) {
        if (this._left.isLiteralText()) {
          try {
                       
            java.lang.String __left = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._left.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLeft(__left);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("left", this._left);
        }
      }
                          
            if (this._minHeight != null) {
        if (this._minHeight.isLiteralText()) {
          try {
                       
            Integer __minHeight = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minHeight.getExpressionString(),
                      Integer.class);
         
                        comp.setMinHeight(__minHeight.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minHeight", this._minHeight);
        }
      }
                        
            if (this._minWidth != null) {
        if (this._minWidth.isLiteralText()) {
          try {
                       
            Integer __minWidth = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minWidth.getExpressionString(),
                      Integer.class);
         
                        comp.setMinWidth(__minWidth.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minWidth", this._minWidth);
        }
      }
                        
            if (this._moveable != null) {
        if (this._moveable.isLiteralText()) {
          try {
                       
            Boolean __moveable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveable.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveable(__moveable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveable", this._moveable);
        }
      }
                        
            if (this._onbeforehide != null) {
        if (this._onbeforehide.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforehide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforehide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforehide(__onbeforehide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforehide", this._onbeforehide);
        }
      }
                        
            if (this._onbeforeshow != null) {
        if (this._onbeforeshow.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforeshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforeshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforeshow(__onbeforeshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforeshow", this._onbeforeshow);
        }
      }
                        
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                        
            if (this._onmaskclick != null) {
        if (this._onmaskclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskclick(__onmaskclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskclick", this._onmaskclick);
        }
      }
                        
            if (this._onmaskcontextmenu != null) {
        if (this._onmaskcontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskcontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskcontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskcontextmenu(__onmaskcontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskcontextmenu", this._onmaskcontextmenu);
        }
      }
                        
            if (this._onmaskdblclick != null) {
        if (this._onmaskdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskdblclick(__onmaskdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskdblclick", this._onmaskdblclick);
        }
      }
                        
            if (this._onmaskmousedown != null) {
        if (this._onmaskmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousedown(__onmaskmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousedown", this._onmaskmousedown);
        }
      }
                        
            if (this._onmaskmousemove != null) {
        if (this._onmaskmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousemove(__onmaskmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousemove", this._onmaskmousemove);
        }
      }
                        
            if (this._onmaskmouseout != null) {
        if (this._onmaskmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseout(__onmaskmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseout", this._onmaskmouseout);
        }
      }
                        
            if (this._onmaskmouseover != null) {
        if (this._onmaskmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseover(__onmaskmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseover", this._onmaskmouseover);
        }
      }
                        
            if (this._onmaskmouseup != null) {
        if (this._onmaskmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseup(__onmaskmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseup", this._onmaskmouseup);
        }
      }
                        
            if (this._onmove != null) {
        if (this._onmove.isLiteralText()) {
          try {
                       
            java.lang.String __onmove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmove(__onmove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmove", this._onmove);
        }
      }
                        
            if (this._onresize != null) {
        if (this._onresize.isLiteralText()) {
          try {
                       
            java.lang.String __onresize = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onresize.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnresize(__onresize);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onresize", this._onresize);
        }
      }
                        
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                        
            if (this._overlapEmbedObjects != null) {
        if (this._overlapEmbedObjects.isLiteralText()) {
          try {
                       
            Boolean __overlapEmbedObjects = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._overlapEmbedObjects.getExpressionString(),
                      Boolean.class);
         
                        comp.setOverlapEmbedObjects(__overlapEmbedObjects.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("overlapEmbedObjects", this._overlapEmbedObjects);
        }
      }
                           
            if (this._resizeable != null) {
        if (this._resizeable.isLiteralText()) {
          try {
                       
            Boolean __resizeable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resizeable.getExpressionString(),
                      Boolean.class);
         
                        comp.setResizeable(__resizeable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resizeable", this._resizeable);
        }
      }
                        
            if (this._shadowDepth != null) {
        if (this._shadowDepth.isLiteralText()) {
          try {
                       
            java.lang.String __shadowDepth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowDepth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowDepth(__shadowDepth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowDepth", this._shadowDepth);
        }
      }
                        
            if (this._shadowOpacity != null) {
        if (this._shadowOpacity.isLiteralText()) {
          try {
                       
            java.lang.String __shadowOpacity = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowOpacity.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowOpacity(__shadowOpacity);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowOpacity", this._shadowOpacity);
        }
      }
                         
            if (this._showWhenRendered != null) {
        if (this._showWhenRendered.isLiteralText()) {
          try {
                       
            Boolean __showWhenRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWhenRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWhenRendered(__showWhenRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWhenRendered", this._showWhenRendered);
        }
      }
                          
            if (this._top != null) {
        if (this._top.isLiteralText()) {
          try {
                       
            java.lang.String __top = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._top.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTop(__top);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("top", this._top);
        }
      }
                        
            if (this._tridentIVEngineSelectBehavior != null) {
        if (this._tridentIVEngineSelectBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __tridentIVEngineSelectBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tridentIVEngineSelectBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTridentIVEngineSelectBehavior(__tridentIVEngineSelectBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tridentIVEngineSelectBehavior", this._tridentIVEngineSelectBehavior);
        }
      }
                        
            if (this._trimOverlayedElements != null) {
        if (this._trimOverlayedElements.isLiteralText()) {
          try {
                       
            Boolean __trimOverlayedElements = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trimOverlayedElements.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrimOverlayedElements(__trimOverlayedElements.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trimOverlayedElements", this._trimOverlayedElements);
        }
      }
                               
            if (this._visualOptions != null) {
        if (this._visualOptions.isLiteralText()) {
          try {
                       
            java.lang.Object __visualOptions = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._visualOptions.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setVisualOptions(__visualOptions);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("visualOptions", this._visualOptions);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            Integer __width = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      Integer.class);
         
                        comp.setWidth(__width.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlModalPanel comp = (HtmlModalPanel) component;
            
            if (this._autosized != null) {
        if (this._autosized.isLiteralText()) {
          try {
                       
            Boolean __autosized = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autosized.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutosized(__autosized.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autosized", this._autosized);
        }
      }
                         
            if (this._controlsClass != null) {
        if (this._controlsClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlsClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsClass(__controlsClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsClass", this._controlsClass);
        }
      }
                           
            if (this._headerClass != null) {
        if (this._headerClass.isLiteralText()) {
          try {
                       
            java.lang.String __headerClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._headerClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeaderClass(__headerClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("headerClass", this._headerClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            Integer __height = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      Integer.class);
         
                        comp.setHeight(__height.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                          
            if (this._keepVisualState != null) {
        if (this._keepVisualState.isLiteralText()) {
          try {
                       
            Boolean __keepVisualState = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._keepVisualState.getExpressionString(),
                      Boolean.class);
         
                        comp.setKeepVisualState(__keepVisualState.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("keepVisualState", this._keepVisualState);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._left != null) {
        if (this._left.isLiteralText()) {
          try {
                       
            java.lang.String __left = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._left.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLeft(__left);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("left", this._left);
        }
      }
                          
            if (this._minHeight != null) {
        if (this._minHeight.isLiteralText()) {
          try {
                       
            Integer __minHeight = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minHeight.getExpressionString(),
                      Integer.class);
         
                        comp.setMinHeight(__minHeight.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minHeight", this._minHeight);
        }
      }
                        
            if (this._minWidth != null) {
        if (this._minWidth.isLiteralText()) {
          try {
                       
            Integer __minWidth = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minWidth.getExpressionString(),
                      Integer.class);
         
                        comp.setMinWidth(__minWidth.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minWidth", this._minWidth);
        }
      }
                        
            if (this._moveable != null) {
        if (this._moveable.isLiteralText()) {
          try {
                       
            Boolean __moveable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveable.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveable(__moveable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveable", this._moveable);
        }
      }
                        
            if (this._onbeforehide != null) {
        if (this._onbeforehide.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforehide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforehide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforehide(__onbeforehide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforehide", this._onbeforehide);
        }
      }
                        
            if (this._onbeforeshow != null) {
        if (this._onbeforeshow.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforeshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforeshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforeshow(__onbeforeshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforeshow", this._onbeforeshow);
        }
      }
                        
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                        
            if (this._onmaskclick != null) {
        if (this._onmaskclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskclick(__onmaskclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskclick", this._onmaskclick);
        }
      }
                        
            if (this._onmaskcontextmenu != null) {
        if (this._onmaskcontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskcontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskcontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskcontextmenu(__onmaskcontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskcontextmenu", this._onmaskcontextmenu);
        }
      }
                        
            if (this._onmaskdblclick != null) {
        if (this._onmaskdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskdblclick(__onmaskdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskdblclick", this._onmaskdblclick);
        }
      }
                        
            if (this._onmaskmousedown != null) {
        if (this._onmaskmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousedown(__onmaskmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousedown", this._onmaskmousedown);
        }
      }
                        
            if (this._onmaskmousemove != null) {
        if (this._onmaskmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousemove(__onmaskmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousemove", this._onmaskmousemove);
        }
      }
                        
            if (this._onmaskmouseout != null) {
        if (this._onmaskmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseout(__onmaskmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseout", this._onmaskmouseout);
        }
      }
                        
            if (this._onmaskmouseover != null) {
        if (this._onmaskmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseover(__onmaskmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseover", this._onmaskmouseover);
        }
      }
                        
            if (this._onmaskmouseup != null) {
        if (this._onmaskmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseup(__onmaskmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseup", this._onmaskmouseup);
        }
      }
                        
            if (this._onmove != null) {
        if (this._onmove.isLiteralText()) {
          try {
                       
            java.lang.String __onmove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmove(__onmove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmove", this._onmove);
        }
      }
                        
            if (this._onresize != null) {
        if (this._onresize.isLiteralText()) {
          try {
                       
            java.lang.String __onresize = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onresize.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnresize(__onresize);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onresize", this._onresize);
        }
      }
                        
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                           
            if (this._resizeable != null) {
        if (this._resizeable.isLiteralText()) {
          try {
                       
            Boolean __resizeable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resizeable.getExpressionString(),
                      Boolean.class);
         
                        comp.setResizeable(__resizeable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resizeable", this._resizeable);
        }
      }
                        
            if (this._shadowDepth != null) {
        if (this._shadowDepth.isLiteralText()) {
          try {
                       
            java.lang.String __shadowDepth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowDepth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowDepth(__shadowDepth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowDepth", this._shadowDepth);
        }
      }
                        
            if (this._shadowOpacity != null) {
        if (this._shadowOpacity.isLiteralText()) {
          try {
                       
            java.lang.String __shadowOpacity = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowOpacity.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowOpacity(__shadowOpacity);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowOpacity", this._shadowOpacity);
        }
      }
                         
            if (this._showWhenRendered != null) {
        if (this._showWhenRendered.isLiteralText()) {
          try {
                       
            Boolean __showWhenRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWhenRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWhenRendered(__showWhenRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWhenRendered", this._showWhenRendered);
        }
      }
                          
            if (this._top != null) {
        if (this._top.isLiteralText()) {
          try {
                       
            java.lang.String __top = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._top.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTop(__top);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("top", this._top);
        }
      }
                        
            if (this._tridentIVEngineSelectBehavior != null) {
        if (this._tridentIVEngineSelectBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __tridentIVEngineSelectBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tridentIVEngineSelectBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTridentIVEngineSelectBehavior(__tridentIVEngineSelectBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tridentIVEngineSelectBehavior", this._tridentIVEngineSelectBehavior);
        }
      }
                        
            if (this._trimOverlayedElements != null) {
        if (this._trimOverlayedElements.isLiteralText()) {
          try {
                       
            Boolean __trimOverlayedElements = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trimOverlayedElements.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrimOverlayedElements(__trimOverlayedElements.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trimOverlayedElements", this._trimOverlayedElements);
        }
      }
                         setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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._visualOptions != null) {
        if (this._visualOptions.isLiteralText()) {
          try {
                       
            java.lang.Object __visualOptions = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._visualOptions.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setVisualOptions(__visualOptions);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("visualOptions", this._visualOptions);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            Integer __width = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      Integer.class);
         
                        comp.setWidth(__width.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

            } else { // configurationComponent instanceof ConfigurationSetComponent
                // If it's an AJAX request for a configSet component, recalculate the group config from the member
                // configs and clear our child components. NOTE: This can *not* be done in decode(), because the model
                // will not have been updated yet with any changes made to child UIInput values.
                ConfigurationSetComponent configurationSetComponent = ((ConfigurationSetComponent) configurationComponent);
                HtmlModalPanel propSetModalPanel = configurationSetComponent.getPropSetModalPanel();
                if (propertySetComponentContainsInvalidInputs(configurationSetComponent)) {
                    // Make sure the modal panel is shown when rendered, so the user will see the validation errors.
                    propSetModalPanel.setShowWhenRendered(true);
                } else {
                    // Otherwise, make sure it's not rendered.
                    propSetModalPanel.setShowWhenRendered(false);
                    configurationSetComponent.getConfigurationSet().calculateGroupConfiguration();
                    component.getChildren().clear();
                }
            }
        }
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

            return configurationComponent.getId().equals(refresh);
        }
    }

    private static boolean propertySetComponentContainsInvalidInputs(ConfigurationSetComponent configurationSetComponent) {
        HtmlModalPanel propSetModalPanel = configurationSetComponent.getPropSetModalPanel();
        boolean containsInvalidInputs = false;
        List<PropertySetComponent> propertySetComponents = FacesComponentUtility.getDescendantsOfType(
            propSetModalPanel, PropertySetComponent.class);
        if (propertySetComponents.size() == 1) {
            PropertySetComponent propertySetComponent = propertySetComponents.get(0);
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

                addPropSetModalPanel(configurationSetComponent);
            // Otherwise, if the propSet was just submitted and it doesn't contain any validation errors,
            // close the propSet modal.
            else if (isAjaxRefresh(configurationSetComponent)
                && !propertySetComponentContainsInvalidInputs(configurationSetComponent)) {
                HtmlModalPanel propSetModalPanel = configurationSetComponent.getPropSetModalPanel();
                String script = "Richfaces.hideModalPanel('"
                    + propSetModalPanel.getClientId(FacesContext.getCurrentInstance()) + "');";
                FacesComponentUtility.addJavaScript(configurationSetComponent, null, null, script);
            }
        }

        if (!configurationComponent.isReadOnly())
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

    private void addPropSetModalPanel(ConfigurationSetComponent configurationSetComponent) {
        UIForm configSetForm = FacesComponentUtility.getEnclosingForm(configurationSetComponent);

        // Add the modal panel as a sibling of the configSet form.
        HtmlModalPanel modalPanel = FacesComponentUtility.createComponent(HtmlModalPanel.class);
        String modalPanelId = ConfigurationSetComponent.getPropSetModalPanelId(configurationSetComponent);
        modalPanel.setId(modalPanelId);
        modalPanel.setWidth(715);
        modalPanel.setHeight(535);
        modalPanel.setTrimOverlayedElements(false);
        modalPanel.setStyle("overflow-y: auto;");
        modalPanel.setOnbeforeshow("sizeAppropriately('configSetForm:" + modalPanelId + "')");
        modalPanel.setOnresize("keepCentered('configSetForm:" + modalPanelId + "')");

        // Insert the modal panel as a sibling of the configSet form, just after the form in the component tree.
        int index = getComponentIndex(configSetForm);
        configSetForm.getParent().getChildren().add(index + 1, modalPanel);

        // Add the propSet form as a child of the modal panel.
        HtmlForm propSetForm = new HtmlForm();
        modalPanel.getChildren().add(propSetForm);
        String propSetFormId = ConfigurationSetComponent.getPropSetFormId(configurationSetComponent);
        propSetForm.setId(propSetFormId);
        propSetForm.setOnsubmit("prepareInputsForSubmission(this)");

        // Add inputs for the request params that need to be forwarded when the propSet form is submitted.
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlModalPanel comp = (HtmlModalPanel) component;
            
            if (this._autosized != null) {
        if (this._autosized.isLiteralText()) {
          try {
                       
            Boolean __autosized = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autosized.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutosized(__autosized.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autosized", this._autosized);
        }
      }
                         
            if (this._controlsClass != null) {
        if (this._controlsClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlsClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsClass(__controlsClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsClass", this._controlsClass);
        }
      }
                          
            if (this._domElementAttachment != null) {
        if (this._domElementAttachment.isLiteralText()) {
          try {
                       
            java.lang.String __domElementAttachment = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._domElementAttachment.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDomElementAttachment(__domElementAttachment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("domElementAttachment", this._domElementAttachment);
        }
      }
                         
            if (this._headerClass != null) {
        if (this._headerClass.isLiteralText()) {
          try {
                       
            java.lang.String __headerClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._headerClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeaderClass(__headerClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("headerClass", this._headerClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            Integer __height = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      Integer.class);
         
                        comp.setHeight(__height.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                          
            if (this._keepVisualState != null) {
        if (this._keepVisualState.isLiteralText()) {
          try {
                       
            Boolean __keepVisualState = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._keepVisualState.getExpressionString(),
                      Boolean.class);
         
                        comp.setKeepVisualState(__keepVisualState.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("keepVisualState", this._keepVisualState);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._left != null) {
        if (this._left.isLiteralText()) {
          try {
                       
            java.lang.String __left = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._left.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLeft(__left);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("left", this._left);
        }
      }
                          
            if (this._minHeight != null) {
        if (this._minHeight.isLiteralText()) {
          try {
                       
            Integer __minHeight = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minHeight.getExpressionString(),
                      Integer.class);
         
                        comp.setMinHeight(__minHeight.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minHeight", this._minHeight);
        }
      }
                        
            if (this._minWidth != null) {
        if (this._minWidth.isLiteralText()) {
          try {
                       
            Integer __minWidth = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minWidth.getExpressionString(),
                      Integer.class);
         
                        comp.setMinWidth(__minWidth.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minWidth", this._minWidth);
        }
      }
                        
            if (this._moveable != null) {
        if (this._moveable.isLiteralText()) {
          try {
                       
            Boolean __moveable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveable.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveable(__moveable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveable", this._moveable);
        }
      }
                        
            if (this._onbeforehide != null) {
        if (this._onbeforehide.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforehide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforehide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforehide(__onbeforehide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforehide", this._onbeforehide);
        }
      }
                        
            if (this._onbeforeshow != null) {
        if (this._onbeforeshow.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforeshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforeshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforeshow(__onbeforeshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforeshow", this._onbeforeshow);
        }
      }
                        
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                        
            if (this._onmaskclick != null) {
        if (this._onmaskclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskclick(__onmaskclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskclick", this._onmaskclick);
        }
      }
                        
            if (this._onmaskcontextmenu != null) {
        if (this._onmaskcontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskcontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskcontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskcontextmenu(__onmaskcontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskcontextmenu", this._onmaskcontextmenu);
        }
      }
                        
            if (this._onmaskdblclick != null) {
        if (this._onmaskdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskdblclick(__onmaskdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskdblclick", this._onmaskdblclick);
        }
      }
                        
            if (this._onmaskmousedown != null) {
        if (this._onmaskmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousedown(__onmaskmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousedown", this._onmaskmousedown);
        }
      }
                        
            if (this._onmaskmousemove != null) {
        if (this._onmaskmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousemove(__onmaskmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousemove", this._onmaskmousemove);
        }
      }
                        
            if (this._onmaskmouseout != null) {
        if (this._onmaskmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseout(__onmaskmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseout", this._onmaskmouseout);
        }
      }
                        
            if (this._onmaskmouseover != null) {
        if (this._onmaskmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseover(__onmaskmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseover", this._onmaskmouseover);
        }
      }
                        
            if (this._onmaskmouseup != null) {
        if (this._onmaskmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseup(__onmaskmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseup", this._onmaskmouseup);
        }
      }
                        
            if (this._onmove != null) {
        if (this._onmove.isLiteralText()) {
          try {
                       
            java.lang.String __onmove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmove(__onmove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmove", this._onmove);
        }
      }
                        
            if (this._onresize != null) {
        if (this._onresize.isLiteralText()) {
          try {
                       
            java.lang.String __onresize = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onresize.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnresize(__onresize);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onresize", this._onresize);
        }
      }
                        
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                        
            if (this._overlapEmbedObjects != null) {
        if (this._overlapEmbedObjects.isLiteralText()) {
          try {
                       
            Boolean __overlapEmbedObjects = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._overlapEmbedObjects.getExpressionString(),
                      Boolean.class);
         
                        comp.setOverlapEmbedObjects(__overlapEmbedObjects.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("overlapEmbedObjects", this._overlapEmbedObjects);
        }
      }
                           
            if (this._resizeable != null) {
        if (this._resizeable.isLiteralText()) {
          try {
                       
            Boolean __resizeable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resizeable.getExpressionString(),
                      Boolean.class);
         
                        comp.setResizeable(__resizeable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resizeable", this._resizeable);
        }
      }
                        
            if (this._shadowDepth != null) {
        if (this._shadowDepth.isLiteralText()) {
          try {
                       
            java.lang.String __shadowDepth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowDepth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowDepth(__shadowDepth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowDepth", this._shadowDepth);
        }
      }
                        
            if (this._shadowOpacity != null) {
        if (this._shadowOpacity.isLiteralText()) {
          try {
                       
            java.lang.String __shadowOpacity = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowOpacity.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowOpacity(__shadowOpacity);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowOpacity", this._shadowOpacity);
        }
      }
                         
            if (this._showWhenRendered != null) {
        if (this._showWhenRendered.isLiteralText()) {
          try {
                       
            Boolean __showWhenRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWhenRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWhenRendered(__showWhenRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWhenRendered", this._showWhenRendered);
        }
      }
                          
            if (this._top != null) {
        if (this._top.isLiteralText()) {
          try {
                       
            java.lang.String __top = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._top.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTop(__top);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("top", this._top);
        }
      }
                        
            if (this._tridentIVEngineSelectBehavior != null) {
        if (this._tridentIVEngineSelectBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __tridentIVEngineSelectBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tridentIVEngineSelectBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTridentIVEngineSelectBehavior(__tridentIVEngineSelectBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tridentIVEngineSelectBehavior", this._tridentIVEngineSelectBehavior);
        }
      }
                        
            if (this._trimOverlayedElements != null) {
        if (this._trimOverlayedElements.isLiteralText()) {
          try {
                       
            Boolean __trimOverlayedElements = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trimOverlayedElements.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrimOverlayedElements(__trimOverlayedElements.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trimOverlayedElements", this._trimOverlayedElements);
        }
      }
                               
            if (this._visualOptions != null) {
        if (this._visualOptions.isLiteralText()) {
          try {
                       
            java.lang.Object __visualOptions = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._visualOptions.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setVisualOptions(__visualOptions);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("visualOptions", this._visualOptions);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            Integer __width = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      Integer.class);
         
                        comp.setWidth(__width.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlModalPanel comp = (HtmlModalPanel) component;
            
            if (this._autosized != null) {
        if (this._autosized.isLiteralText()) {
          try {
                       
            Boolean __autosized = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autosized.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutosized(__autosized.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autosized", this._autosized);
        }
      }
                         
            if (this._controlsClass != null) {
        if (this._controlsClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlsClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsClass(__controlsClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsClass", this._controlsClass);
        }
      }
                          
            if (this._domElementAttachment != null) {
        if (this._domElementAttachment.isLiteralText()) {
          try {
                       
            java.lang.String __domElementAttachment = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._domElementAttachment.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDomElementAttachment(__domElementAttachment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("domElementAttachment", this._domElementAttachment);
        }
      }
                         
            if (this._headerClass != null) {
        if (this._headerClass.isLiteralText()) {
          try {
                       
            java.lang.String __headerClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._headerClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeaderClass(__headerClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("headerClass", this._headerClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            Integer __height = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      Integer.class);
         
                        comp.setHeight(__height.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                          
            if (this._keepVisualState != null) {
        if (this._keepVisualState.isLiteralText()) {
          try {
                       
            Boolean __keepVisualState = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._keepVisualState.getExpressionString(),
                      Boolean.class);
         
                        comp.setKeepVisualState(__keepVisualState.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("keepVisualState", this._keepVisualState);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._left != null) {
        if (this._left.isLiteralText()) {
          try {
                       
            java.lang.String __left = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._left.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLeft(__left);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("left", this._left);
        }
      }
                          
            if (this._minHeight != null) {
        if (this._minHeight.isLiteralText()) {
          try {
                       
            Integer __minHeight = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minHeight.getExpressionString(),
                      Integer.class);
         
                        comp.setMinHeight(__minHeight.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minHeight", this._minHeight);
        }
      }
                        
            if (this._minWidth != null) {
        if (this._minWidth.isLiteralText()) {
          try {
                       
            Integer __minWidth = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minWidth.getExpressionString(),
                      Integer.class);
         
                        comp.setMinWidth(__minWidth.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minWidth", this._minWidth);
        }
      }
                        
            if (this._moveable != null) {
        if (this._moveable.isLiteralText()) {
          try {
                       
            Boolean __moveable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveable.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveable(__moveable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveable", this._moveable);
        }
      }
                        
            if (this._onbeforehide != null) {
        if (this._onbeforehide.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforehide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforehide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforehide(__onbeforehide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforehide", this._onbeforehide);
        }
      }
                        
            if (this._onbeforeshow != null) {
        if (this._onbeforeshow.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforeshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforeshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforeshow(__onbeforeshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforeshow", this._onbeforeshow);
        }
      }
                        
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                        
            if (this._onmaskclick != null) {
        if (this._onmaskclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskclick(__onmaskclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskclick", this._onmaskclick);
        }
      }
                        
            if (this._onmaskcontextmenu != null) {
        if (this._onmaskcontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskcontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskcontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskcontextmenu(__onmaskcontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskcontextmenu", this._onmaskcontextmenu);
        }
      }
                        
            if (this._onmaskdblclick != null) {
        if (this._onmaskdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskdblclick(__onmaskdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskdblclick", this._onmaskdblclick);
        }
      }
                        
            if (this._onmaskmousedown != null) {
        if (this._onmaskmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousedown(__onmaskmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousedown", this._onmaskmousedown);
        }
      }
                        
            if (this._onmaskmousemove != null) {
        if (this._onmaskmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousemove(__onmaskmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousemove", this._onmaskmousemove);
        }
      }
                        
            if (this._onmaskmouseout != null) {
        if (this._onmaskmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseout(__onmaskmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseout", this._onmaskmouseout);
        }
      }
                        
            if (this._onmaskmouseover != null) {
        if (this._onmaskmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseover(__onmaskmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseover", this._onmaskmouseover);
        }
      }
                        
            if (this._onmaskmouseup != null) {
        if (this._onmaskmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseup(__onmaskmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseup", this._onmaskmouseup);
        }
      }
                        
            if (this._onmove != null) {
        if (this._onmove.isLiteralText()) {
          try {
                       
            java.lang.String __onmove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmove(__onmove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmove", this._onmove);
        }
      }
                        
            if (this._onresize != null) {
        if (this._onresize.isLiteralText()) {
          try {
                       
            java.lang.String __onresize = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onresize.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnresize(__onresize);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onresize", this._onresize);
        }
      }
                        
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                        
            if (this._overlapEmbedObjects != null) {
        if (this._overlapEmbedObjects.isLiteralText()) {
          try {
                       
            Boolean __overlapEmbedObjects = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._overlapEmbedObjects.getExpressionString(),
                      Boolean.class);
         
                        comp.setOverlapEmbedObjects(__overlapEmbedObjects.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("overlapEmbedObjects", this._overlapEmbedObjects);
        }
      }
                           
            if (this._resizeable != null) {
        if (this._resizeable.isLiteralText()) {
          try {
                       
            Boolean __resizeable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resizeable.getExpressionString(),
                      Boolean.class);
         
                        comp.setResizeable(__resizeable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resizeable", this._resizeable);
        }
      }
                        
            if (this._shadowDepth != null) {
        if (this._shadowDepth.isLiteralText()) {
          try {
                       
            java.lang.String __shadowDepth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowDepth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowDepth(__shadowDepth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowDepth", this._shadowDepth);
        }
      }
                        
            if (this._shadowOpacity != null) {
        if (this._shadowOpacity.isLiteralText()) {
          try {
                       
            java.lang.String __shadowOpacity = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowOpacity.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowOpacity(__shadowOpacity);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowOpacity", this._shadowOpacity);
        }
      }
                         
            if (this._showWhenRendered != null) {
        if (this._showWhenRendered.isLiteralText()) {
          try {
                       
            Boolean __showWhenRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWhenRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWhenRendered(__showWhenRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWhenRendered", this._showWhenRendered);
        }
      }
                          
            if (this._top != null) {
        if (this._top.isLiteralText()) {
          try {
                       
            java.lang.String __top = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._top.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTop(__top);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("top", this._top);
        }
      }
                        
            if (this._tridentIVEngineSelectBehavior != null) {
        if (this._tridentIVEngineSelectBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __tridentIVEngineSelectBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tridentIVEngineSelectBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTridentIVEngineSelectBehavior(__tridentIVEngineSelectBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tridentIVEngineSelectBehavior", this._tridentIVEngineSelectBehavior);
        }
      }
                        
            if (this._trimOverlayedElements != null) {
        if (this._trimOverlayedElements.isLiteralText()) {
          try {
                       
            Boolean __trimOverlayedElements = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trimOverlayedElements.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrimOverlayedElements(__trimOverlayedElements.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trimOverlayedElements", this._trimOverlayedElements);
        }
      }
                               
            if (this._visualOptions != null) {
        if (this._visualOptions.isLiteralText()) {
          try {
                       
            java.lang.Object __visualOptions = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._visualOptions.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setVisualOptions(__visualOptions);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("visualOptions", this._visualOptions);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            Integer __width = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      Integer.class);
         
                        comp.setWidth(__width.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlModalPanel

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlModalPanel comp = (HtmlModalPanel) component;
            
            if (this._autosized != null) {
        if (this._autosized.isLiteralText()) {
          try {
                       
            Boolean __autosized = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autosized.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutosized(__autosized.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autosized", this._autosized);
        }
      }
                         
            if (this._controlsClass != null) {
        if (this._controlsClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlsClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsClass(__controlsClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsClass", this._controlsClass);
        }
      }
                          
            if (this._domElementAttachment != null) {
        if (this._domElementAttachment.isLiteralText()) {
          try {
                       
            java.lang.String __domElementAttachment = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._domElementAttachment.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDomElementAttachment(__domElementAttachment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("domElementAttachment", this._domElementAttachment);
        }
      }
                         
            if (this._headerClass != null) {
        if (this._headerClass.isLiteralText()) {
          try {
                       
            java.lang.String __headerClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._headerClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeaderClass(__headerClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("headerClass", this._headerClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            Integer __height = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      Integer.class);
         
                        comp.setHeight(__height.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                          
            if (this._keepVisualState != null) {
        if (this._keepVisualState.isLiteralText()) {
          try {
                       
            Boolean __keepVisualState = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._keepVisualState.getExpressionString(),
                      Boolean.class);
         
                        comp.setKeepVisualState(__keepVisualState.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("keepVisualState", this._keepVisualState);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._left != null) {
        if (this._left.isLiteralText()) {
          try {
                       
            java.lang.String __left = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._left.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLeft(__left);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("left", this._left);
        }
      }
                          
            if (this._minHeight != null) {
        if (this._minHeight.isLiteralText()) {
          try {
                       
            Integer __minHeight = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minHeight.getExpressionString(),
                      Integer.class);
         
                        comp.setMinHeight(__minHeight.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minHeight", this._minHeight);
        }
      }
                        
            if (this._minWidth != null) {
        if (this._minWidth.isLiteralText()) {
          try {
                       
            Integer __minWidth = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minWidth.getExpressionString(),
                      Integer.class);
         
                        comp.setMinWidth(__minWidth.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minWidth", this._minWidth);
        }
      }
                        
            if (this._moveable != null) {
        if (this._moveable.isLiteralText()) {
          try {
                       
            Boolean __moveable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveable.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveable(__moveable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveable", this._moveable);
        }
      }
                        
            if (this._onbeforehide != null) {
        if (this._onbeforehide.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforehide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforehide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforehide(__onbeforehide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforehide", this._onbeforehide);
        }
      }
                        
            if (this._onbeforeshow != null) {
        if (this._onbeforeshow.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforeshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforeshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforeshow(__onbeforeshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforeshow", this._onbeforeshow);
        }
      }
                        
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                        
            if (this._onmaskclick != null) {
        if (this._onmaskclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskclick(__onmaskclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskclick", this._onmaskclick);
        }
      }
                        
            if (this._onmaskcontextmenu != null) {
        if (this._onmaskcontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskcontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskcontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskcontextmenu(__onmaskcontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskcontextmenu", this._onmaskcontextmenu);
        }
      }
                        
            if (this._onmaskdblclick != null) {
        if (this._onmaskdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskdblclick(__onmaskdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskdblclick", this._onmaskdblclick);
        }
      }
                        
            if (this._onmaskmousedown != null) {
        if (this._onmaskmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousedown(__onmaskmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousedown", this._onmaskmousedown);
        }
      }
                        
            if (this._onmaskmousemove != null) {
        if (this._onmaskmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmousemove(__onmaskmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmousemove", this._onmaskmousemove);
        }
      }
                        
            if (this._onmaskmouseout != null) {
        if (this._onmaskmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseout(__onmaskmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseout", this._onmaskmouseout);
        }
      }
                        
            if (this._onmaskmouseover != null) {
        if (this._onmaskmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseover(__onmaskmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseover", this._onmaskmouseover);
        }
      }
                        
            if (this._onmaskmouseup != null) {
        if (this._onmaskmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __onmaskmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmaskmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmaskmouseup(__onmaskmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmaskmouseup", this._onmaskmouseup);
        }
      }
                        
            if (this._onmove != null) {
        if (this._onmove.isLiteralText()) {
          try {
                       
            java.lang.String __onmove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onmove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnmove(__onmove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onmove", this._onmove);
        }
      }
                        
            if (this._onresize != null) {
        if (this._onresize.isLiteralText()) {
          try {
                       
            java.lang.String __onresize = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onresize.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnresize(__onresize);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onresize", this._onresize);
        }
      }
                        
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                           
            if (this._resizeable != null) {
        if (this._resizeable.isLiteralText()) {
          try {
                       
            Boolean __resizeable = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resizeable.getExpressionString(),
                      Boolean.class);
         
                        comp.setResizeable(__resizeable.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resizeable", this._resizeable);
        }
      }
                        
            if (this._shadowDepth != null) {
        if (this._shadowDepth.isLiteralText()) {
          try {
                       
            java.lang.String __shadowDepth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowDepth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowDepth(__shadowDepth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowDepth", this._shadowDepth);
        }
      }
                        
            if (this._shadowOpacity != null) {
        if (this._shadowOpacity.isLiteralText()) {
          try {
                       
            java.lang.String __shadowOpacity = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._shadowOpacity.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setShadowOpacity(__shadowOpacity);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("shadowOpacity", this._shadowOpacity);
        }
      }
                         
            if (this._showWhenRendered != null) {
        if (this._showWhenRendered.isLiteralText()) {
          try {
                       
            Boolean __showWhenRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWhenRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWhenRendered(__showWhenRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWhenRendered", this._showWhenRendered);
        }
      }
                          
            if (this._top != null) {
        if (this._top.isLiteralText()) {
          try {
                       
            java.lang.String __top = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._top.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTop(__top);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("top", this._top);
        }
      }
                        
            if (this._tridentIVEngineSelectBehavior != null) {
        if (this._tridentIVEngineSelectBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __tridentIVEngineSelectBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tridentIVEngineSelectBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTridentIVEngineSelectBehavior(__tridentIVEngineSelectBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tridentIVEngineSelectBehavior", this._tridentIVEngineSelectBehavior);
        }
      }
                        
            if (this._trimOverlayedElements != null) {
        if (this._trimOverlayedElements.isLiteralText()) {
          try {
                       
            Boolean __trimOverlayedElements = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trimOverlayedElements.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrimOverlayedElements(__trimOverlayedElements.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trimOverlayedElements", this._trimOverlayedElements);
        }
      }
                               
            if (this._visualOptions != null) {
        if (this._visualOptions.isLiteralText()) {
          try {
                       
            java.lang.Object __visualOptions = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._visualOptions.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setVisualOptions(__visualOptions);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("visualOptions", this._visualOptions);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            Integer __width = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      Integer.class);
         
                        comp.setWidth(__width.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
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.