This component renders a popup confirmation dialog asking the user whether to cancel or continue with the operation that was requested. This dialog will be displayed immediately after the event that triggered the operation (e.g. click, Enter-key press, etc.) while preventing the application from carrying out the requested operation until it is confirmed by the user.
Attributes |
Name | Required | Request-time | Type | Description |
acceptLabel | false | false | java.lang.String | The text to appear on the acceptance button (default value is 'Accept'). |
autoCentre | false | false | java.lang.String | Used to keep the popup centred on the screen through scrolling and window resizing events. Default value is 'false'. |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
cancelLabel | false | false | java.lang.String | The text to appear on the cancellation button (default value is 'Cancel'). |
displayAtMouse | false | false | java.lang.String | When set to 'true' this panel will pop up near the mouse pointer position at the moment of triggering the event. It overrides the autoCentre property. 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. Default value is 'false'. |
escape | false | false | java.lang.String | Flag indicating that characters that are sensitive in HTML and XML markup must be escaped. This flag is set to "true" by default. |
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. |
message | false | false | java.lang.String | The text to appear in the body of the popup. |
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. |
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. |
title | false | false | java.lang.String | The text of the popup header. |
type | false | false | java.lang.String | The type of confirmation dialog (buttons that will be displayed in the popup). Possible values are: - acceptOnly - Will only display accept button.
- cancelOnly - Will only display cancel button.
- normal - Will only display both buttons.
Default value is normal. |