p

Tag commandButton

Component Information 
InfoValue
Component Typeorg.primefaces.component.CommandButton
Handler ClassNone
Renderer Typeorg.primefaces.component.CommandButtonRenderer
DescriptionNone
Attributes 
NameRequiredTypeDescription
accesskeyfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Access key that when pressed transfers focus to the button.
actionfalsejakarta.el.ValueExpression
(must evaluate to javax.el.MethodExpression)
A method expression or a string outcome to process when command is executed.
actionListenerfalsejakarta.el.ValueExpression
(must evaluate to javax.faces.event.ActionListener)
An actionlistener to process when command is executed.
ajaxfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Specifies the submit mode, when set to true (default), submit would be made with Ajax.
altfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Alternate textual description of the button.
ariaLabelfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
The aria-label attribute is used to define a string that labels the current element for accessibility.
asyncfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set to true, ajax requests are not queued.
bindingfalsejakarta.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
An el expression referring to a server side UIComponent instance in a backing bean.
delayfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is null. If the value of delay is the literal string 'none' without the quotes or the default, no delay is used.
dirfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Direction indication for text that does not inherit directionality. Valid values are LTR and RTL.
disabledfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Disables the button.
disableOnAjaxfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, the button will be disabled during Ajax requests triggered by the button. Default is 'true'.
enabledByValidateClientfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set to true this button is only enabled after successful client side validation. Used together with p:clientValidator on all relevant input-components.
escapefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Defines if label of the component is escaped or not.
formfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Form to serialize for an ajax request. Default is the enclosing form.
globalfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Defines whether to trigger ajaxStatus or not.
iconfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Icon of the button.
iconPosfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Position of the icon, default value is left.
idfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Unique identifier of the component in a namingContainer.
ignoreAutoUpdatefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, components which autoUpdate="true" will not be updated for this request. If not specified, or the value is false, no such indication is made.
ignoreComponentNotFoundfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, unresolvable components referenced in the update/process attribute are ignored. Default is 'false' and therefore a ComponentNotFoundException will be thrown.
immediatefalsejakarta.el.ValueExpression
(must evaluate to boolean)
Boolean value that determines the phaseId of the action event, when true actions are processed at "Apply Request Values", when false at "Invoke Application" phase.
inlinefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Displays button inline instead of fitting the content width, only used by mobile.
labelfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
A localized user presentable name.
langfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Code describing the language used in the generated markup.
onblurfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when button loses focus.
onchangefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when button loses focus and its value has been modified since gaining focus.
onclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when button is clicked.
oncompletefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when ajax request is completed.
ondblclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when button is double clicked.
onerrorfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when ajax request fails.
onfocusfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when button receives focus.
onkeydownfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a key is pressed down over button.
onkeypressfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a key is pressed and released over button.
onkeyupfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a key is released over button.
onmousedownfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer button is pressed down over button.
onmousemovefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer button is moved within button.
onmouseoutfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer button is moved away from button.
onmouseoverfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer button is moved onto button.
onmouseupfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when a pointer button is released over button.
onselectfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when text within button is selected by user.
onstartfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute before ajax request begins.
onsuccessfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client side callback to execute when ajax request succeeds.
partialSubmitfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When enabled, only values related to partially processed components would be serialized for ajax instead of whole form.
partialSubmitFilterfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Selector to use when partial submit is on, default is ":input" to select all descendant inputs of a partially processed components.
processfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Component(s) to process partially instead of whole view.
renderDisabledClickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When enabled, click event can be added to disabled button
renderedfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Boolean value to specify the rendering of the component, when set to false component will not be rendered.
resetValuesfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, indicate that this particular Ajax transaction is a value reset transaction. This will cause resetValue() to be called on any EditableValueHolder instances encountered as a result of this ajax transaction. If not specified, or the value is false, no such indication is made.
stylefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Inline style of the button element.
styleClassfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Style class of the button element.
tabindexfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Position of the button element in the tabbing order.
timeoutfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
Defines the timeout for the ajax request.
titlefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Advisory tooltip information.
typefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Sets the behavior of the button. Default is submit.
updatefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Component(s) to be updated with ajax.
validateClientfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set to true client side validation is enabled, global setting is required to be enabled as a prerequisite.
valuefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Object)
Label of the component.
widgetVarfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Name of the client side widget.

Output generated by Vdldoc View Declaration Language Documentation Generator.