Attributes |
Name | Required | Request-time | Type | Description |
binding | no | false | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
closable | no | false | boolean | Boolean value that specifies whether the dialog should have a close button in the header. Default = 'true'. |
closeOnEscape | no | false | boolean | Boolean value that Specifies whether the dialog should close when it has focus and the user presses the escape (ESC) key. Default = 'true'. |
dialogPosition | no | false | java.lang.String | The side of the dialog to position in relation to the target component. The format is " ". Possible horizontal values are "left", "right" and "center". Possible vertical values are "top", "center", and "bottom". Example: "left top" or "center center". Default = 'center'. |
draggable | no | false | boolean | Boolean value whether to allow the user to drag the Panel using its header Default = 'true'. |
header | no | false | java.lang.String | Header text |
height | no | false | int | Height of the element in pixels. Default (not specified or value <= 0) is auto. If auto, resizable should be false, or resizing may hehave erratically. If auto, IE7 may not size or position properly. Default = 'Integer.MIN_VALUE'. |
hideEffect | no | false | java.lang.String | Effect to use when hiding the dialog. Possible values are 'blind', 'clip', 'drop', 'explode, 'fade', 'fold', 'puff', 'slide', 'scale', 'bounce', 'highlight', and 'shake' (Some effects are not supported in IE browsers, see wiki page for more information). |
id | no | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
minHeight | no | false | int | Minimum height of resizable dialog Default = '0'. |
minWidth | no | false | int | Minimum width of a resizable dialog Default = '150'. |
modal | no | false | boolean | Boolean value that specifies whether the document should be shielded with a partially transparent mask to require the user to close the Panel before being able to activate any elements in the document Default = 'false'. |
onHide | no | false | java.lang.String | Javascript code to be executed when hiding the dialog |
onShow | no | false | java.lang.String | Javascript code to be executed when showing the dialog |
position | no | false | java.lang.String | Specifies where the dialog should be displayed relative to the viewport. Possible values: 1) a single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. 2) an array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100]) 3) an array containing x,y position string values (e.g. ['right','top'] for top right corner). |
relativePosition | no | false | java.lang.String | The side of the target component to position the dialog against. The format is " ". Possible horizontal values are "left", "right" and "center". Possible vertical values are "top", "center", and "bottom". Example: "left top" or "center center". Default = 'center'. |
relativeTo | no | false | java.lang.String | Id of the component to position the dialog against. Setting this id will override the 'position' attribute, using 'dialogPosition' and 'relativePosition' instead. |
rendered | no | false | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
resizable | no | false | boolean | Makes the dialog resizable. Should be false if width or height is auto, or resizing may hehave erratically. Default = 'true'. |
showEffect | no | false | java.lang.String | Effect to use when showing the dialog. Possible values are 'blind', 'clip', 'drop', 'explode, 'fade', 'fold', 'puff', 'slide', 'scale', 'bounce', 'highlight', 'pulsate', and 'shake' (Some effects are not supported in IE7, see wiki page for more information). |
showHeader | no | false | boolean | Boolean value that specifies whether the dialog should have a header (default true) Default = 'true'. |
styleClass | no | false | java.lang.String | Style class of the main container of dialog |
visible | no | false | boolean | visible can be used to toggle visibility on the server, rendered should not be used that way, setting rendered=false on a visible modal dialog will not remove the modality layer, visible=false must be set first (or client-side JS function called) Default = 'false'. |
widgetVar | no | false | java.lang.String | Name of the widget to access client side api |
width | no | false | int | Width of the element in pixels. Default (not specified or value <= 0) is auto. If auto, resizable should be false, or resizing may hehave erratically. If auto, IE7 may not size or position properly. Default = 'Integer.MIN_VALUE'. |
zindex | no | false | int | zindex property to control overlapping with other elements Default = '1000'. |