The panelPopup is a container component that renders a window or panel that hovers on top of a web page. The popupPanel contains 2 regions which are defined using facets. The facet names are; header and body.
The panelPopup component can be used to provide a general popup window behavior such as moveable/dragable, resizeable and modal
Note: A panelPopup facet needs a container type component as a child (e.g., panelGroup or panelGrid). panelGroup renders a span tag, which doesn't work properly if using Mozilla. panelGrid can be used to avoid display problems.
Attributes |
Name | Required | Request-time | Type | Description |
autoCentre | false | false | java.lang.String | Used to keep the popup centred on the screen through scrolling and window resizing events. |
autoPosition | false | false | java.lang.String | Used to keep the popup positioned on the screen through scrolling events. Use a string of x and y px values (e.g. autoPostion="35,200"). For a modal popup, use "manual" to disable automatic centering on the document. Then specify top, left positions by style or styleClass. |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
clientOnly | false | false | java.lang.String | Sends update to the server on drop event if false. Default value is false. |
draggable | false | false | java.lang.String | When set to 'true' this panel is draggable. The user will be able to drag the panel to any position on the page. Note: all Draggable panels must be contained in a form. |
effect | false | false | java.lang.String | The Javascript Effect |
id | false | 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. |
modal | false | false | java.lang.String | Used to render a modal popup. Note: this will only cover the body of a document. Make sure the document body takes up 100% of the window. For example: |
onclick | false | false | java.lang.String | No Description |
onclickeffect | false | false | java.lang.String | Effect invoked on onclick event |
ondblclick | false | false | java.lang.String | No Description |
ondblclickeffect | false | false | java.lang.String | Effect invoked on ondblclick event |
onkeydown | false | false | java.lang.String | No Description |
onkeydowneffect | false | false | java.lang.String | Effect invoked on onkeydown event |
onkeypress | false | false | java.lang.String | No Description |
onkeypresseffect | false | false | java.lang.String | Effect invoked on onkeypress event |
onkeyup | false | false | java.lang.String | No Description |
onkeyupeffect | false | false | java.lang.String | Effect invoked on onkeyup event |
onmousedown | false | false | java.lang.String | No Description |
onmousedowneffect | false | false | java.lang.String | Effect invoked on onmousedown event |
onmousemove | false | false | java.lang.String | No Description |
onmousemoveeffect | false | false | java.lang.String | Effect invoked on onmousemove event |
onmouseout | false | false | java.lang.String | No Description |
onmouseouteffect | false | false | java.lang.String | Effect invoked on onmouse event |
onmouseover | false | false | java.lang.String | No Description |
onmouseovereffect | false | false | java.lang.String | Effect invoked on onmouseover event |
onmouseup | false | false | java.lang.String | No Description |
onmouseupeffect | false | false | java.lang.String | Effect invoked on onmouseup event |
positionOnLoadOnly | false | false | java.lang.String | Centre or position popup once on load only. Any drag and drop or scroll will disable autoCentre and autoPosition. |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
renderedOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. |
resizable | false | false | java.lang.String | This attribute is currently unsupported. |
style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
styleClass | false | false | java.lang.String | Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. Defines the base class name for all style classes. Default value is icePnlPop - icePnlPop
- icePnlPopHdr
- icePnlPopBody
- icePnlPopFtr
|
title | false | false | java.lang.String | Advisory title information about markup elements generated for this component. |
visible | false | false | java.lang.String | Set the visibility of this component. When false CSS style is set to display:none |