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
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`) | Event must occurs before panel is hiding
onbeforeshow | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs before panel is opening
onhide | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs after panel closed
onmaskclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is clicked outside modalPanel
onmaskcontextmenu | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript handler to be called on right click outside modalPanel
onmaskdblclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is double-clicked outside modalPanel
onmaskmousedown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is pressed down outside modalPanel
onmaskmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is moved outside modalPanel
onmaskmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is moved away modalPanel
onmaskmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is moved onto modalPanel
onmaskmouseup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is released outside modalPanel
onmove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs before panel is moving
onresize | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs than panel is resizing
onshow | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event must occurs after panel opened
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.
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
validator | false | false | `javax.el.MethodExpression` (signature must match `void validator(javax.faces.context.FacesContext, javax.faces.component.UIComponent, java.lang.Object)`) | MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component
validatorMessage | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator
value | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current value of this component
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.