@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder") public abstract class CommandButtonBase extends javax.faces.component.html.HtmlCommandButton implements com.liferay.faces.util.component.Styleable
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CommandButtonBase.CommandButtonPropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_TYPE |
static String |
RENDERER_TYPE |
| Constructor and Description |
|---|
CommandButtonBase() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAutofocus()
autofocus attribute description:
HTML passthrough attribute specifying whether or not the component should automatically recieve focus on the initial page load. |
String |
getExecute()
execute attribute description:
Space-delimited list of component ids that are to participate in the APPLY_REQUEST_VALUES, PROCESS_VALIDATIONS, UPDATE_MODEL_VALUES, and INVOKE_APPLICATION phases of the JSF lifecycle. |
String |
getProcess()
process attribute description:
Synonym for the execute attribute. |
String |
getRender()
render attribute description:
Space-delimited list of component ids that are to participate in the RENDER_RESPONSE phase of the JSF lifecycle and be re-rendered in the DOM after the response is received from the XmlHttpRequest. |
String |
getStyleClass()
styleClass attribute description:
List of CSS class names (separated by spaces) that are to be rendered within the class attribute. |
String |
getType()
type attribute description:
The type of the button: button, submit (default), or reset. |
String |
getUpdate()
update attribute description:
Synonym for the render attribute. |
boolean |
isAjax()
ajax attribute description:
When this flag is true, clicking on the button will cause the form to be submitted via XmlHttpRequest. |
boolean |
isDisabled()
disabled attribute description:
When this flag is true, the component will be disabled, and the user will be unable to interact with the component. |
void |
setAjax(boolean ajax)
ajax attribute description:
When this flag is true, clicking on the button will cause the form to be submitted via XmlHttpRequest. |
void |
setAutofocus(Boolean autofocus)
autofocus attribute description:
HTML passthrough attribute specifying whether or not the component should automatically recieve focus on the initial page load. |
void |
setDisabled(boolean disabled)
disabled attribute description:
When this flag is true, the component will be disabled, and the user will be unable to interact with the component. |
void |
setExecute(String execute)
execute attribute description:
Space-delimited list of component ids that are to participate in the APPLY_REQUEST_VALUES, PROCESS_VALIDATIONS, UPDATE_MODEL_VALUES, and INVOKE_APPLICATION phases of the JSF lifecycle. |
void |
setProcess(String process)
process attribute description:
Synonym for the execute attribute. |
void |
setRender(String render)
render attribute description:
Space-delimited list of component ids that are to participate in the RENDER_RESPONSE phase of the JSF lifecycle and be re-rendered in the DOM after the response is received from the XmlHttpRequest. |
void |
setStyleClass(String styleClass)
styleClass attribute description:
List of CSS class names (separated by spaces) that are to be rendered within the class attribute. |
void |
setType(String type)
type attribute description:
The type of the button: button, submit (default), or reset. |
void |
setUpdate(String update)
update attribute description:
Synonym for the render attribute. |
getAccesskey, getAlt, getDefaultEventName, getDir, getEventNames, getImage, getLabel, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getRole, getStyle, getTabindex, getTitle, isReadonly, setAccesskey, setAlt, setDir, setImage, setLabel, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setRole, setStyle, setTabindex, setTitleaddActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValueaddClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTreepublic static final String COMPONENT_TYPE
public static final String RENDERER_TYPE
public boolean isAjax()
ajax attribute description:
public void setAjax(boolean ajax)
ajax attribute description:
public Boolean getAutofocus()
autofocus attribute description:
public void setAutofocus(Boolean autofocus)
autofocus attribute description:
public boolean isDisabled()
disabled attribute description:
isDisabled in class javax.faces.component.html.HtmlCommandButtonpublic void setDisabled(boolean disabled)
disabled attribute description:
setDisabled in class javax.faces.component.html.HtmlCommandButtonpublic String getExecute()
execute attribute description:
@this, @form, @all, @none.public void setExecute(String execute)
execute attribute description:
@this, @form, @all, @none.public String getProcess()
process attribute description:
execute attribute. The default value is "@all".public void setProcess(String process)
process attribute description:
execute attribute. The default value is "@all".public String getRender()
render attribute description:
@this, @form, @all, @none.public void setRender(String render)
render attribute description:
@this, @form, @all, @none.public String getStyleClass()
styleClass attribute description:
getStyleClass in interface com.liferay.faces.util.component.StyleablegetStyleClass in class javax.faces.component.html.HtmlCommandButtonpublic void setStyleClass(String styleClass)
styleClass attribute description:
setStyleClass in interface com.liferay.faces.util.component.StyleablesetStyleClass in class javax.faces.component.html.HtmlCommandButtonpublic String getType()
type attribute description:
getType in class javax.faces.component.html.HtmlCommandButtonpublic void setType(String type)
type attribute description:
setType in class javax.faces.component.html.HtmlCommandButtonpublic String getUpdate()
update attribute description:
render attribute. The default value is "@none".public void setUpdate(String update)
update attribute description:
render attribute. The default value is "@none".Copyright © 2016 Liferay, Inc.. All rights reserved.