Package org.richfaces.taglib

Source Code of org.richfaces.taglib.ModalPanelTag

/**
* GENERATED FILE - DO NOT EDIT
*
*/
package org.richfaces.taglib;

import java.lang.String ;
import java.lang.Object ;
import org.ajax4jsf.webapp.taglib.HtmlComponentTagBase ;
import javax.faces.component.UIComponent ;

import javax.el.ELException;
import javax.faces.FacesException;
import javax.faces.component.UIComponent;
import javax.el.MethodExpression;
import javax.faces.el.MethodBinding;
import javax.faces.el.ValueBinding;
import javax.el.ValueExpression;
import org.richfaces.webapp.taglib.MethodBindingMethodExpressionAdaptor;
import org.richfaces.webapp.taglib.ValueBindingValueExpressionAdaptor;
import org.richfaces.component.html.HtmlModalPanel;

public class ModalPanelTag extends org.ajax4jsf.webapp.taglib.HtmlComponentTagBase {

    // Fields
                          
    /*
     * autosized
     * If "true" modalPanel should be autosizeable. Default value is "false".
     */
    private ValueExpression _autosized;
    /**
     * If "true" modalPanel should be autosizeable. Default value is "false".
     * Setter for autosized
     * @param autosized - new value
     */
     public void setAutosized( ValueExpression  __autosized ){
      this._autosized = __autosized;
       }
   
                                     
    /*
     * controlsClass
     * CSS style(s) is/are to be applied to component controls when this component
        is rendered
     */
    private ValueExpression _controlsClass;
    /**
     * CSS style(s) is/are to be applied to component controls when this component
        is rendered
     * Setter for controlsClass
     * @param controlsClass - new value
     */
     public void setControlsClass( ValueExpression  __controlsClass ){
      this._controlsClass = __controlsClass;
       }
   
                                          
    /*
     * domElementAttachment
     * Defines the DOM element, which stacking context will assimilate the modalPanel. Possible values: "body", "form", "parent". Default value is "body".
     */
    private ValueExpression _domElementAttachment;
    /**
     * Defines the DOM element, which stacking context will assimilate the modalPanel. Possible values: "body", "form", "parent". Default value is "body".
     * Setter for domElementAttachment
     * @param domElementAttachment - new value
     */
     public void setDomElementAttachment( ValueExpression  __domElementAttachment ){
      this._domElementAttachment = __domElementAttachment;
       }
   
                                     
    /*
     * headerClass
     * CSS style(s) is/are to be applied to component header when this component
        is rendered
     */
    private ValueExpression _headerClass;
    /**
     * CSS style(s) is/are to be applied to component header when this component
        is rendered
     * Setter for headerClass
     * @param headerClass - new value
     */
     public void setHeaderClass( ValueExpression  __headerClass ){
      this._headerClass = __headerClass;
       }
   
                                
    /*
     * height
     * Attribute defines height of component. Default value is "200".
     */
    private ValueExpression _height;
    /**
     * Attribute defines height of component. Default value is "200".
     * Setter for height
     * @param height - new value
     */
     public void setHeight( ValueExpression  __height ){
      this._height = __height;
       }
   
                                          
    /*
     * keepVisualState
     * If "true" modalPanel should save state after submission. Default value is "false".
     */
    private ValueExpression _keepVisualState;
    /**
     * If "true" modalPanel should save state after submission. Default value is "false".
     * Setter for keepVisualState
     * @param keepVisualState - new value
     */
     public void setKeepVisualState( ValueExpression  __keepVisualState ){
      this._keepVisualState = __keepVisualState;
       }
   
                                
    /*
     * label
     * A localized user presentable name for this component.
     */
    private ValueExpression _label;
    /**
     * A localized user presentable name for this component.
     * Setter for label
     * @param label - new value
     */
     public void setLabel( ValueExpression  __label ){
      this._label = __label;
       }
   
                                
    /*
     * left
     * Attribute defines X position of component left-top corner. Default value is "auto".
     */
    private ValueExpression _left;
    /**
     * Attribute defines X position of component left-top corner. Default value is "auto".
     * Setter for left
     * @param left - new value
     */
     public void setLeft( ValueExpression  __left ){
      this._left = __left;
       }
   
                                          
    /*
     * minHeight
     * Attribute defines min height of component. Default value is "10". If the value is less then 10, a "IllegalArgumentException" exception is thrown.
     */
    private ValueExpression _minHeight;
    /**
     * Attribute defines min height of component. Default value is "10". If the value is less then 10, a "IllegalArgumentException" exception is thrown.
     * Setter for minHeight
     * @param minHeight - new value
     */
     public void setMinHeight( ValueExpression  __minHeight ){
      this._minHeight = __minHeight;
       }
   
                                
    /*
     * minWidth
     * Attribute defines min width of component. Default value is "10".  If the value is less then 10, a "IllegalArgumentException" exception is thrown.
     */
    private ValueExpression _minWidth;
    /**
     * Attribute defines min width of component. Default value is "10".  If the value is less then 10, a "IllegalArgumentException" exception is thrown.
     * Setter for minWidth
     * @param minWidth - new value
     */
     public void setMinWidth( ValueExpression  __minWidth ){
      this._minWidth = __minWidth;
       }
   
                                
    /*
     * moveable
     * If "true" there is possibility to move component. Default value is "true".
     */
    private ValueExpression _moveable;
    /**
     * If "true" there is possibility to move component. Default value is "true".
     * Setter for moveable
     * @param moveable - new value
     */
     public void setMoveable( ValueExpression  __moveable ){
      this._moveable = __moveable;
       }
   
                                
    /*
     * onbeforehide
     * The client side script method to be called before the modal panel is hidden
     */
    private ValueExpression _onbeforehide;
    /**
     * The client side script method to be called before the modal panel is hidden
     * Setter for onbeforehide
     * @param onbeforehide - new value
     */
     public void setOnbeforehide( ValueExpression  __onbeforehide ){
      this._onbeforehide = __onbeforehide;
       }
   
                                
    /*
     * onbeforeshow
     * The client side script method to be called before the modal panel is opened
     */
    private ValueExpression _onbeforeshow;
    /**
     * The client side script method to be called before the modal panel is opened
     * Setter for onbeforeshow
     * @param onbeforeshow - new value
     */
     public void setOnbeforeshow( ValueExpression  __onbeforeshow ){
      this._onbeforeshow = __onbeforeshow;
       }
   
                                
    /*
     * onhide
     * The client side script method to be called after the modal panel is hidden
     */
    private ValueExpression _onhide;
    /**
     * The client side script method to be called after the modal panel is hidden
     * Setter for onhide
     * @param onhide - new value
     */
     public void setOnhide( ValueExpression  __onhide ){
      this._onhide = __onhide;
       }
   
                                
    /*
     * onmaskclick
     * The client side script method to be called when a left mouse button is clicked outside the modal panel
     */
    private ValueExpression _onmaskclick;
    /**
     * The client side script method to be called when a left mouse button is clicked outside the modal panel
     * Setter for onmaskclick
     * @param onmaskclick - new value
     */
     public void setOnmaskclick( ValueExpression  __onmaskclick ){
      this._onmaskclick = __onmaskclick;
       }
   
                                
    /*
     * onmaskcontextmenu
     * The client side script method to be called when a right mouse button is clicked outside the modal panel
     */
    private ValueExpression _onmaskcontextmenu;
    /**
     * The client side script method to be called when a right mouse button is clicked outside the modal panel
     * Setter for onmaskcontextmenu
     * @param onmaskcontextmenu - new value
     */
     public void setOnmaskcontextmenu( ValueExpression  __onmaskcontextmenu ){
      this._onmaskcontextmenu = __onmaskcontextmenu;
       }
   
                                
    /*
     * onmaskdblclick
     * The client side script method to be called when a left mouse button is double-clicked outside the modal panel
     */
    private ValueExpression _onmaskdblclick;
    /**
     * The client side script method to be called when a left mouse button is double-clicked outside the modal panel
     * Setter for onmaskdblclick
     * @param onmaskdblclick - new value
     */
     public void setOnmaskdblclick( ValueExpression  __onmaskdblclick ){
      this._onmaskdblclick = __onmaskdblclick;
       }
   
                                
    /*
     * onmaskmousedown
     * The client side script method to be called when a mouse button is pressed down outside the modal panel
     */
    private ValueExpression _onmaskmousedown;
    /**
     * The client side script method to be called when a mouse button is pressed down outside the modal panel
     * Setter for onmaskmousedown
     * @param onmaskmousedown - new value
     */
     public void setOnmaskmousedown( ValueExpression  __onmaskmousedown ){
      this._onmaskmousedown = __onmaskmousedown;
       }
   
                                
    /*
     * onmaskmousemove
     * The client side script method to be called when a pointer is moved outside the modal panel
     */
    private ValueExpression _onmaskmousemove;
    /**
     * The client side script method to be called when a pointer is moved outside the modal panel
     * Setter for onmaskmousemove
     * @param onmaskmousemove - new value
     */
     public void setOnmaskmousemove( ValueExpression  __onmaskmousemove ){
      this._onmaskmousemove = __onmaskmousemove;
       }
   
                                
    /*
     * onmaskmouseout
     * The client side script method to be called when a pointer is moved away from the modal panel
     */
    private ValueExpression _onmaskmouseout;
    /**
     * The client side script method to be called when a pointer is moved away from the modal panel
     * Setter for onmaskmouseout
     * @param onmaskmouseout - new value
     */
     public void setOnmaskmouseout( ValueExpression  __onmaskmouseout ){
      this._onmaskmouseout = __onmaskmouseout;
       }
   
                                
    /*
     * onmaskmouseover
     * The client side script method to be called when a pointer is moved onto the modal panel
     */
    private ValueExpression _onmaskmouseover;
    /**
     * The client side script method to be called when a pointer is moved onto the modal panel
     * Setter for onmaskmouseover
     * @param onmaskmouseover - new value
     */
     public void setOnmaskmouseover( ValueExpression  __onmaskmouseover ){
      this._onmaskmouseover = __onmaskmouseover;
       }
   
                                
    /*
     * onmaskmouseup
     * The client side script method to be called when a mouse button is released outside the modal panel
     */
    private ValueExpression _onmaskmouseup;
    /**
     * The client side script method to be called when a mouse button is released outside the modal panel
     * Setter for onmaskmouseup
     * @param onmaskmouseup - new value
     */
     public void setOnmaskmouseup( ValueExpression  __onmaskmouseup ){
      this._onmaskmouseup = __onmaskmouseup;
       }
   
                                
    /*
     * onmove
     * The client side script method to be called before the modal panel is moved
     */
    private ValueExpression _onmove;
    /**
     * The client side script method to be called before the modal panel is moved
     * Setter for onmove
     * @param onmove - new value
     */
     public void setOnmove( ValueExpression  __onmove ){
      this._onmove = __onmove;
       }
   
                                
    /*
     * onresize
     * The client side script method to be called when the modal panel is resized
     */
    private ValueExpression _onresize;
    /**
     * The client side script method to be called when the modal panel is resized
     * Setter for onresize
     * @param onresize - new value
     */
     public void setOnresize( ValueExpression  __onresize ){
      this._onresize = __onresize;
       }
   
                                
    /*
     * onshow
     * The client side script method to be called when the modal panel is displayed
     */
    private ValueExpression _onshow;
    /**
     * The client side script method to be called when the modal panel is displayed
     * Setter for onshow
     * @param onshow - new value
     */
     public void setOnshow( ValueExpression  __onshow ){
      this._onshow = __onshow;
       }
   
                                
    /*
     * overlapEmbedObjects
     * If "true" modalPanel creates iframe to overlap embed objects like PDF on a page. Default value is "false".
     */
    private ValueExpression _overlapEmbedObjects;
    /**
     * If "true" modalPanel creates iframe to overlap embed objects like PDF on a page. Default value is "false".
     * Setter for overlapEmbedObjects
     * @param overlapEmbedObjects - new value
     */
     public void setOverlapEmbedObjects( ValueExpression  __overlapEmbedObjects ){
      this._overlapEmbedObjects = __overlapEmbedObjects;
       }
   
                                               
    /*
     * resizeable
     * If "true" there is possibility to change component size. Default value is "true".
     */
    private ValueExpression _resizeable;
    /**
     * If "true" there is possibility to change component size. Default value is "true".
     * Setter for resizeable
     * @param resizeable - new value
     */
     public void setResizeable( ValueExpression  __resizeable ){
      this._resizeable = __resizeable;
       }
   
                                
    /*
     * shadowDepth
     * Pop-up shadow depth for suggestion content
     */
    private ValueExpression _shadowDepth;
    /**
     * Pop-up shadow depth for suggestion content
     * Setter for shadowDepth
     * @param shadowDepth - new value
     */
     public void setShadowDepth( ValueExpression  __shadowDepth ){
      this._shadowDepth = __shadowDepth;
       }
   
                                
    /*
     * shadowOpacity
     * HTML CSS class attribute of element for pop-up suggestion content
     */
    private ValueExpression _shadowOpacity;
    /**
     * HTML CSS class attribute of element for pop-up suggestion content
     * Setter for shadowOpacity
     * @param shadowOpacity - new value
     */
     public void setShadowOpacity( ValueExpression  __shadowOpacity ){
      this._shadowOpacity = __shadowOpacity;
       }
   
                                     
    /*
     * showWhenRendered
     * If "true" value for this attribute makes a modal panel opened as default. Default value is "false"
     */
    private ValueExpression _showWhenRendered;
    /**
     * If "true" value for this attribute makes a modal panel opened as default. Default value is "false"
     * Setter for showWhenRendered
     * @param showWhenRendered - new value
     */
     public void setShowWhenRendered( ValueExpression  __showWhenRendered ){
      this._showWhenRendered = __showWhenRendered;
       }
   
                                          
    /*
     * top
     * Attribute defines Y position of component left-top corner. Default value is "auto".
     */
    private ValueExpression _top;
    /**
     * Attribute defines Y position of component left-top corner. Default value is "auto".
     * Setter for top
     * @param top - new value
     */
     public void setTop( ValueExpression  __top ){
      this._top = __top;
       }
   
                                
    /*
     * tridentIVEngineSelectBehavior
     * How to handle HTML SELECT-based controls in IE 6? - "disable" - default,
        handle as usual, use disabled="true" to hide SELECT controls - "hide" - use
        visibility="hidden" to hide SELECT controls
     */
    private ValueExpression _tridentIVEngineSelectBehavior;
    /**
     * How to handle HTML SELECT-based controls in IE 6? - "disable" - default,
        handle as usual, use disabled="true" to hide SELECT controls - "hide" - use
        visibility="hidden" to hide SELECT controls
     * Setter for tridentIVEngineSelectBehavior
     * @param tridentIVEngineSelectBehavior - new value
     */
     public void setTridentIVEngineSelectBehavior( ValueExpression  __tridentIVEngineSelectBehavior ){
      this._tridentIVEngineSelectBehavior = __tridentIVEngineSelectBehavior;
       }
   
                                
    /*
     * trimOverlayedElements
     * Defines whether to trim or not elements inside modalPanel. Default value is "true"
     */
    private ValueExpression _trimOverlayedElements;
    /**
     * Defines whether to trim or not elements inside modalPanel. Default value is "true"
     * Setter for trimOverlayedElements
     * @param trimOverlayedElements - new value
     */
     public void setTrimOverlayedElements( ValueExpression  __trimOverlayedElements ){
      this._trimOverlayedElements = __trimOverlayedElements;
       }
   
                                                                   
    /*
     * visualOptions
     * Defines options that were specified on the client side
     */
    private ValueExpression _visualOptions;
    /**
     * Defines options that were specified on the client side
     * Setter for visualOptions
     * @param visualOptions - new value
     */
     public void setVisualOptions( ValueExpression  __visualOptions ){
      this._visualOptions = __visualOptions;
       }
   
                                
    /*
     * width
     * Attribute defines width of component. Default value is "300".
     */
    private ValueExpression _width;
    /**
     * Attribute defines width of component. Default value is "300".
     * Setter for width
     * @param width - new value
     */
     public void setWidth( ValueExpression  __width ){
      this._width = __width;
       }
   
                                
    /*
     * zindex
     * Attribute is similar to the standard HTML attribute and can specify window. Default value is "100".
        placement relative to the content
     */
    private ValueExpression _zindex;
    /**
     * Attribute is similar to the standard HTML attribute and can specify window. Default value is "100".
        placement relative to the content
     * Setter for zindex
     * @param zindex - new value
     */
     public void setZindex( ValueExpression  __zindex ){
      this._zindex = __zindex;
       }
   
       
 
    public void release()
    {
        // TODO Auto-generated method stub
        super.release();
                     this._autosized = null;
                     this._controlsClass = null;
                          this._domElementAttachment = null;
                     this._headerClass = null;
                this._height = null;
                          this._keepVisualState = null;
                this._label = null;
                this._left = null;
                          this._minHeight = null;
                this._minWidth = null;
                this._moveable = null;
                this._onbeforehide = null;
                this._onbeforeshow = null;
                this._onhide = null;
                this._onmaskclick = null;
                this._onmaskcontextmenu = null;
                this._onmaskdblclick = null;
                this._onmaskmousedown = null;
                this._onmaskmousemove = null;
                this._onmaskmouseout = null;
                this._onmaskmouseover = null;
                this._onmaskmouseup = null;
                this._onmove = null;
                this._onresize = null;
                this._onshow = null;
                this._overlapEmbedObjects = null;
                               this._resizeable = null;
                this._shadowDepth = null;
                this._shadowOpacity = null;
                     this._showWhenRendered = null;
                          this._top = null;
                this._tridentIVEngineSelectBehavior = null;
                this._trimOverlayedElements = null;
                                                   this._visualOptions = null;
                this._width = null;
                this._zindex = null;
       }
 
    /* (non-Javadoc)
     * @see org.ajax4jsf.components.taglib.html.HtmlCommandButtonTagBase#setProperties(javax.faces.component.UIComponent)
     */
    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);
        }
      }
               }
 
  /* (non-Javadoc)
   * @see javax.faces.webapp.UIComponentTag#getComponentType()
   */
  public String getComponentType() {
    // TODO Auto-generated method stub
    return "org.richfaces.ModalPanel";
  }

  /* (non-Javadoc)
   * @see javax.faces.webapp.UIComponentTag#getRendererType()
   */
  public String getRendererType() {
        return "org.richfaces.ModalPanelRenderer";
      }

}
TOP

Related Classes of org.richfaces.taglib.ModalPanelTag

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.