q
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 Classteamdev.jsf.taglib.ConfirmationJspTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
alignToInvokerfalsebooleantruefalseA 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.
bindingfalseteamdev.jsf.component.popuplayer.ConfirmationonlynullA value-binding expression that associates the Confirmation component with a backing bean property.
buttonAreaClassfalsejava.lang.StringtruenullA CSS class name for the area where the buttons are located.
buttonAreaStylefalsejava.lang.StringtruenullA style for the area where the buttons are located.
cancelButtonClassfalsejava.lang.StringtruenullA CSS class name for the Cancel button.
cancelButtonStylefalsejava.lang.StringtruenullA style for the Cancel button.
cancelButtonTextfalsejava.lang.Stringtrue"Cancel"Text for the Cancel button.
captionClassfalsejava.lang.StringtruenullA CSS class name for the Confirmation title.
captionStylefalsejava.lang.StringtruenullA style for the Confirmation title.
captionTextfalsejava.lang.StringtruenullA flag that indicates whether or not the Confirmation component has the title bar. In this attribute, you should specify the text that is displayed in the title bar.
closeButtonImageUrlfalsejava.lang.StringtruenullURL to the image file that is used to render the Close button.
closeOnOuterClickfalsebooleantruefalseA flag that indicates whether or not to close the Confirmation component when the user clicks anywhere outside it.
defaultButtonfalseteamdev.jsf.component.popuplayer.ButtonTypetrue"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
detailsfalsejava.lang.Stringtrue"Press OK to perform the action"The supplementary text following the main instruction.
detailsClassfalsejava.lang.StringtruenullA CSS class name for the supplementary text.
detailsStylefalsejava.lang.StringtruenullA style for the supplementary text.
draggablefalsebooleantruefalseA flag that indicates whether or not the dragging feature is enabled.
heightfalsejava.lang.StringtruenullThe height of the Confirmation component. Can be specified in any units (px, mm, em, etc.).
iconAreaClassfalsejava.lang.StringtruenullA CSS class name for the area where the icon is located.
iconAreaStylefalsejava.lang.StringtruenullA style for the area where the icon is located.
idfalsejava.lang.StringfalsenullThe component identifier.
invokerEventNamefalsejava.lang.StringtruenullThe name of a JavaScript function or event that should be confirmed before execution.
invokerIdfalsejava.lang.StringtruenullID 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.
leftfalsejava.lang.StringtruenullThe 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".
messagefalsejava.lang.Stringtrue"Confirm your action"The main instruction text.
messageClassfalsejava.lang.StringtruenullA CSS class name for the main instruction.
messageIconUrlfalsejava.lang.StringtruenullURL to the image file that is used to render the icon to the left of the main instruction.
messageStylefalsejava.lang.StringtruenullA style for the main instruction.
middleAreaClassfalsejava.lang.StringtruenullA CSS class name for the area where the instructions are located.
middleAreaStylefalsejava.lang.StringtruenullA style for the area where the instructions are located.
modalLayerClassfalsejava.lang.StringtruenullA CSS class name for the visible part of the page which is not covered by a Confirmation.
modalLayerStylefalsejava.lang.StringtruenullA style for the visible part of the page which is not covered by the Confirmation component.
okButtonClassfalsejava.lang.StringtruenullA CSS class name for the OK button.
okButtonStylefalsejava.lang.StringtruenullA style for the OK button.
okButtonTextfalsejava.lang.Stringtrue"OK"Text for the OK button.
onclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the Confirmation.
ondblclickfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the Confirmation.
onkeydownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user presses a key over the Confirmation.
onkeypressfalsejava.lang.StringtruenullJavaScript code that should be executed on the client when the user presses and releases a key over the Confirmation.
onkeyupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases a key over the Confirmation.
onmousedownfalsejava.lang.StringtruenullJavaScript code that should be executed when the user clicks over the Confirmation with either mouse button.
onmousemovefalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer over the Confirmation.
onmouseoutfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer away from the Confirmation.
onmouseoverfalsejava.lang.StringtruenullJavaScript code that should be executed when the user moves the mouse pointer onto the Confirmation.
onmouseupfalsejava.lang.StringtruenullJavaScript code that should be executed when the user releases the mouse button over the Confirmation.
renderedfalsebooleantruefalseA flag that indicates whether or not the component is visible.
rolloverButtonAreaClassfalsejava.lang.StringtruenullA CSS class name for the area where the buttons in the rollover state are located.
rolloverButtonAreaStylefalsejava.lang.StringtruenullA style for the area where the buttons in the rollover state are located.
rolloverCancelButtonClassfalsejava.lang.StringtruenullA CSS class name for the Cancel button in the rollover state.
rolloverCancelButtonStylefalsejava.lang.StringtruenullA style for the Cancel button in the rollover state.
rolloverClassfalsejava.lang.StringtruenullA CSS class name for the entire Confirmation component.
rolloverDetailsClassfalsejava.lang.StringtruenullA CSS class name for the supplementary text in the rollover state.
rolloverDetailsStylefalsejava.lang.StringtruenullA style for the supplementary text in the rollover state.
rolloverIconAreaClassfalsejava.lang.StringtruenullA CSS class name for the area where the icon in the rollover state is located.
rolloverIconAreaStylefalsejava.lang.StringtruenullA style for the area where the icon in the rollover state is located.
rolloverMessageClassfalsejava.lang.StringtruenullA CSS class name for the main instruction in the rollover state.
rolloverMessageStylefalsejava.lang.StringtruenullA style for the main instruction in the rollover state.
rolloverMiddleAreaClassfalsejava.lang.StringtruenullA CSS class name for the area where the instructions in the rollover state are located.
rolloverMiddleAreaStylefalsejava.lang.StringtruenullA style for the area where the instructions in the rollover state are located.
rolloverOkButtonClassfalsejava.lang.StringtruenullA CSS class name for the OK button in the rollover state.
rolloverOkButtonStylefalsejava.lang.StringtruenullA style for the OK button in the rollover state.
rolloverStylefalsejava.lang.StringtruenullA style for the entire Confirmation component in the rollover state.
showCloseWindowButtonfalsebooleantruefalseA flag that indicates whether or not to show the Close button.
showMessageIconfalsebooleantruetrueA flag that indicates whether or not to show the icon to the left of the main instruction.
stylefalsejava.lang.StringtruenullA style for the entire Confirmation component.
styleClassfalsejava.lang.StringtruenullA CSS class name for the entire Confirmation component.
topfalsejava.lang.StringtruenullThe 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".
widthfalsejava.lang.Stringtrue"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.