primefaces

Tag commandButton

Component Information 
InfoValue
Component Typeorg.primefaces.component.CommandButton
Handler ClassNone
Renderer TypeNone
DescriptionNone
Attributes 
NameRequiredTypeDescription
accesskeyfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Access key to transfer focus to the input element.
actionfalsejakarta.el.ValueExpression
(must evaluate to jakarta.el.MethodExpression)
A method expression or a string outcome to process when command is executed.
actionListenerfalsejakarta.el.ValueExpression
(must evaluate to jakarta.faces.event.ActionListener)
An action listener 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.Default is true.
altfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
No Description
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.Default is false.
bindingfalsejakarta.el.ValueExpression
(must evaluate to jakarta.faces.component.UIComponent)
An EL expression referring to a server side UIComponent instance in a backing bean.Default is generated.
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. If this option is not specified, or if the value of delay is the literal string 'none' without the quotes, no delay is used.
dirfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Direction indication for text that does not inherit directionality.
disabledfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Specifies that an element should be disabled.Default is false.
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.Default is false.
escapefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Defines if label of the component is escaped or not.Default is false.
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)
Global ajax requests are listened by ajaxStatus component, setting global to false will not trigger ajaxStatus.Default is true.
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 is left.
idfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Unique identifier of the component in a namingContainer.Default is generated.
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.Default is false.
ignoreComponentNotFoundfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, unresolvable components (ComponentNotFoundException) referenced in the update/process attribute are ignored.Default is false.
immediatefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When set true, process validations logic is executed at apply request values phase for this component.Default is false.
inlinefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Displays button inline instead of fitting the content width, only used by mobile.Default is false.
labelfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
A localized user presentable name.
langfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
No Description
onblurfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when an element loses focus.
onchangefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when the value of an element has been changed.
onclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a mouse click on the element.
oncompletefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client-side javascript callback to execute when ajax request is completed.
ondblclickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a mouse double-click on the element.
onerrorfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client-side javascript callback to execute when ajax request fails.
onfocusfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when an element gets focus.
onkeydownfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a user is pressing a key.
onkeypressfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a user presses a key.
onkeyupfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a user releases a key.
onmousedownfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a mouse button is pressed down on an element.
onmousemovefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when the mouse pointer is moving while it is over an element.
onmouseoutfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when the mouse pointer moves out of an element.
onmouseoverfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when the mouse pointer moves onto an element.
onmouseupfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Fires when a mouse button is released over an element.
onselectfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
No Description
onstartfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client-side javascript callback to execute before ajax request begins.
onsuccessfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Client-side javascript callback to execute when ajax request succeeds.
partialSubmitfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Enables serialization of values belonging to the partially processed components only.Default is false.
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 in partial request.
readonlyfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
Specifies that an input field is read-only.Default is false.
renderDisabledClickfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
When enabled, click event can be added to disabled button.Default is false.
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.Default is true.
resetValuesfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Boolean)
If true, local values of input components to be updated within the ajax request would be reset.Default is false.
rolefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
No Description
stylefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Specifies an inline CSS style for an element.
styleClassfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Specifies one or more CSS class names for an element.
tabindexfalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Specifies the tab order of an element.
timeoutfalsejakarta.el.ValueExpression
(must evaluate to java.lang.Integer)
Timeout in milliseconds for ajax request, whereas 0 means no timeout.Default is 0.
titlefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Specifies extra information about an element (displayed as a tooltip).
typefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
No Description
updatefalsejakarta.el.ValueExpression
(must evaluate to java.lang.String)
Component(s) to update 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.Default is false.
valuefalsejakarta.el.ValueExpression
(must evaluate to java.lang.Object)
Value 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.