o
Tag window


The Window component is a window-styled container for other JSF components that is displayed over the page content. The Window component has a caption and a content area, it can be dragged around on the page, and resized. Besides, it has the usual maximize/restore, minimize and close buttons in the caption.


Tag Information
Tag Classorg.openfaces.taglib.jsp.window.WindowJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
bindingfalsejavax.el.ValueExpression
(must evaluate to org.openfaces.component.window.Window)
onlynullA value-binding expression that associates the Window with a backing bean property.
captionfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe text that should be displayed in the caption. This is a convenient alternative for using the "caption" facet. If both "caption" facet and "caption" attribute is specified, the content specified in the facet is used.
captionClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the Window title.
captionStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the Window title.
contentClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the Window content area.
contentStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the Window content area.
draggablefalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not the user can move the window by dragging its title.
draggableByContentfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether the window can be dragged by its content area in addition to the usual dragging by window caption. This attribute is only applicable if draggable attribute is set to "true".
heightfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"200px"The height of the Window component. Can be specified in any units (px, mm, em, etc.).
hideOnEscfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not the Window component is automatically dismissed when the user presses Esc.
hideOnOuterClickfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not to close the Window component when the user clicks anywhere outside it.
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
falsenullThe component identifier.
leftfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe x coordinate of the component's upper-left corner relative to the upper-left corner of the document or an absolutely positioned immediate container of the Window component. Note that the "left" attribute should indicate the number of pixels, without the postfix "px".
minHeightfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"80px"The minimal height that the Window component can have when the user is resizing the window. This attribute is applicable when "resizable" attribute is set to "true". This attribute can be specified in any units (px, mm, em, etc.) except percent.
minWidthfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"150px"The minimal width that the Window component can have when the user is resizing the window. This attribute is applicable when "resizable" attribute is set to "true". This attribute can be specified in any units (px, mm, em, etc.) except percent.
modalfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the Window component is modal.
modalLayerClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the visible part of the page which is not covered by a Window component.
modalLayerStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the visible part of the page which is not covered by the Window component.
onclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the Window.
oncontextmenufalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses right mouse button over the component (or performs the other context menu invocation action depending on the platform).
ondblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the Window.
onhidefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the Window component is hidden on the client side.
onkeydownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses a key over the Window.
onkeypressfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user presses and releases a key over the Window.
onkeyupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a key over the Window.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks over the Window with either mouse button.
onmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the Window.
onmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the Window.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the Window.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases the mouse button over the Window.
onshowfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the Window component is displayed on the client side.
renderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the component is visible.
resizablefalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueNo Description
rolloverClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Window component in the rollover state.
rolloverStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Window component in the rollover state.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Window component.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Window component.
topfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe y coordinate of the component's upper-left corner relative to the upper-left corner of the document or an absolutely positioned immediate container of the Window component. Note that the "top" attribute should indicate the number of pixels, without the postfix "px".
visiblefalsejavax.el.ValueExpression
(must evaluate to boolean)
onlytrueA flag that indicates whether or not the Window component is visible.
widthfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"300px"The width of the Window component. Can be specified in any units (px, mm, em, etc.).

Variables
No Variables Defined.


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.