o
Tag confirmation


The Confirmation component is a DHTML modal window containing a main instruction and two buttons using which the user can confirm or reject execution of some operation.


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

Attributes
NameRequiredBinding TypeELDefaultDescription
alignToInvokerfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not to align the Confirmation component with the component that calls it. If the Confirmation is aligned with the component it was called from, it is displayed right under this component.
bindingfalsejavax.el.ValueExpression
(must evaluate to org.openfaces.component.window.Confirmation)
onlynullA value-binding expression that associates the Confirmation component with a backing bean property.
buttonAreaClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the area where the buttons are located.
buttonAreaStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the area where the buttons are located.
cancelButtonClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the Cancel button.
cancelButtonStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the Cancel button.
cancelButtonTextfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"Cancel"Text for the Cancel button.
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 Confirmation title.
captionStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the Confirmation title.
contentClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the area where the instructions are located.
contentStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the area where the instructions are located.
defaultButtonfalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
true"ok"Defines which of the two buttons has focus when the Confirmation component opens.
Available values are:
"ok" — the "OK" button is focused when the Confirmation is opened
"cancel" — the "Cancel" button is focused when the Confirmation is opened
detailsfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"Press OK to perform the action"The supplementary text following the main instruction.
detailsClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the supplementary text.
detailsStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the supplementary text.
draggablefalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the user can move the confirmation window by dragging its title.
draggableByContentfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether the confirmation 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".
eventfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe name of a JavaScript function or event that should be confirmed before execution.
forfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullID of the JSF component or of any HTML element whose event is listened to. It should be defined in the same way as the "for" property of the standard HTMLOutputLabel component.
heightfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe height of the Confirmation 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 Confirmation 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 Confirmation component when the user clicks anywhere outside it.
iconAreaClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the area where the icon is located.
iconAreaStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the area where the icon is located.
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 Confirmation component. Note that the "left" attribute should indicate the number of pixels, without the postfix "px".
messagefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"Confirm your action"The main instruction text.
messageClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the main instruction.
messageIconUrlfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullURL of the image file that is used to render the iconto the left of the main instruction.
messageStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the main instruction.
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 Confirmation.
modalLayerStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the visible part of the page which is not covered by the Confirmation component.
okButtonClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the OK button.
okButtonStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the OK button.
okButtonTextfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"OK"Text for the OK button.
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 Confirmation.
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 Confirmation.
onkeydownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses a key over the Confirmation.
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 Confirmation.
onkeyupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a key over the Confirmation.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks over the Confirmation 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 Confirmation.
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 Confirmation.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the Confirmation.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases the mouse button over the Confirmation.
renderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the component is visible.
rolloverButtonAreaClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the area where the buttons in the rollover state are located.
rolloverButtonAreaStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the area where the buttons in the rollover state are located.
rolloverCancelButtonClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the Cancel button in the rollover state.
rolloverCancelButtonStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the Cancel button in the rollover state.
rolloverClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Confirmation component.
rolloverContentClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the area where the instructions in the rollover state are located.
rolloverContentStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the area where the instructions in the rollover state are located.
rolloverDetailsClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the supplementary text in the rollover state.
rolloverDetailsStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the supplementary text in the rollover state.
rolloverIconAreaClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the area where the icon in the rollover state is located.
rolloverIconAreaStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the area where the icon in the rollover state is located.
rolloverMessageClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the main instruction in the rollover state.
rolloverMessageStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the main instruction in the rollover state.
rolloverOkButtonClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the OK button in the rollover state.
rolloverOkButtonStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the OK button in the rollover state.
rolloverStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Confirmation component in the rollover state.
showMessageIconfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not to show the icon to the left of the main instruction.
standalonefalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueTurns on the "standalone" mode where the Confirmation is not attached to other component automatically, and can be used via the public API instead. The default value is false, which means that the component is attached to the parent component, or a component referred to by the "for" attribute if it is specified.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the entire Confirmation component.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the entire Confirmation 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 Confirmation component Note that the "top" attribute should indicate the number of pixels, without the postfix "px".
widthfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
true"275 px"The width of the Confirmation 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.