Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces ( Legacy URL )
Tag modalPanel

The <rich:modalPanel> component implements a modal dialog window. All operations in the main application window are locked out while this window is active. Opening and closing the window is done through client JavaScript code.

Tag Information
Tag Class | org.richfaces.taglib.ModalPanelTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
autosized | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" modalPanel should be autosizeable. Default value is "false".
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
controlsClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied to component controls when this component is rendered
domElementAttachment | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines the DOM element, which stacking context will assimilate the modalPanel. Possible values: "body", "form", "parent". Default value is "body".
headerClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied to component header when this component is rendered
height | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Attribute defines height of component. Default value is "200".
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
keepVisualState | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" modalPanel should save state after submission. Default value is "false".
label | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | A localized user presentable name for this component.
left | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Attribute defines X position of component left-top corner. Default value is "auto".
minHeight | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Attribute defines min height of component. Default value is "10". If the value is less then 10, a "IllegalArgumentException" exception is thrown.
minWidth | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Attribute defines min width of component. Default value is "10". If the value is less then 10, a "IllegalArgumentException" exception is thrown.
moveable | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" there is possibility to move component. Default value is "true".
onbeforehide | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called before the modal panel is hidden
onbeforeshow | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called before the modal panel is opened
onhide | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called after the modal panel is hidden
onmaskclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a left mouse button is clicked outside the modal panel
onmaskcontextmenu | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a right mouse button is clicked outside the modal panel
onmaskdblclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a left mouse button is double-clicked outside the modal panel
onmaskmousedown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a mouse button is pressed down outside the modal panel
onmaskmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a pointer is moved outside the modal panel
onmaskmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a pointer is moved away from the modal panel
onmaskmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a pointer is moved onto the modal panel
onmaskmouseup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when a mouse button is released outside the modal panel
onmove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called before the modal panel is moved
onresize | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when the modal panel is resized
onshow | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The client side script method to be called when the modal panel is displayed
overlapEmbedObjects | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" modalPanel creates iframe to overlap embed objects like PDF on a page. Default value is "false".
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
resizeable | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" there is possibility to change component size. Default value is "true".
shadowDepth | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Pop-up shadow depth for suggestion content
shadowOpacity | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML CSS class attribute of element for pop-up suggestion content
showWhenRendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" value for this attribute makes a modal panel opened as default. Default value is "false"
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
top | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Attribute defines Y position of component left-top corner. Default value is "auto".
tridentIVEngineSelectBehavior | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | 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
trimOverlayedElements | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | Defines whether to trim or not elements inside modalPanel. Default value is "true"
visualOptions | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | Defines options that were specified on the client side
width | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Attribute defines width of component. Default value is "300".
zindex | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Attribute is similar to the standard HTML attribute and can specify window. Default value is "100". placement relative to the content

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.