Class CommandButtonSingleClickRenderer
java.lang.Object
javax.faces.render.Renderer
org.primefaces.renderkit.CoreRenderer
org.primefaces.component.commandbutton.CommandButtonRenderer
org.primefaces.extensions.renderer.CommandButtonSingleClickRenderer
@Deprecated
public class CommandButtonSingleClickRenderer
extends org.primefaces.component.commandbutton.CommandButtonRenderer
Deprecated.
PF12 has a disableOnAjax attribute
CommandButton renderer disabling the button while action is processed for buttons that are using Ajax.- Since:
- 8.0
- Author:
- Jasper de Vries <jepsar@gmail.com>
-
Field Summary
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidencodeMarkup(javax.faces.context.FacesContext context, org.primefaces.component.commandbutton.CommandButton button) Deprecated.protected StringgetAttributeValue(javax.faces.context.FacesContext context, org.primefaces.component.commandbutton.CommandButton button, String attribute) Deprecated.protected StringgetToggleJS(String widgetVar, boolean enabled) Deprecated.protected booleanisConfirmation(org.primefaces.component.commandbutton.CommandButton button) Deprecated.Check for ConfirmDialog or ConfirmPopup buttons.protected booleanisEligible(org.primefaces.component.commandbutton.CommandButton button) Deprecated.protected StringDeprecated.Methods inherited from class org.primefaces.component.commandbutton.CommandButtonRenderer
buildRequest, decode, encodeEnd, encodeScriptMethods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteIdMethods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getConvertedValue, getRendersChildren
-
Constructor Details
-
CommandButtonSingleClickRenderer
public CommandButtonSingleClickRenderer()Deprecated.
-
-
Method Details
-
encodeMarkup
protected void encodeMarkup(javax.faces.context.FacesContext context, org.primefaces.component.commandbutton.CommandButton button) throws IOException Deprecated.- Overrides:
encodeMarkupin classorg.primefaces.component.commandbutton.CommandButtonRenderer- Throws:
IOException
-
isEligible
protected boolean isEligible(org.primefaces.component.commandbutton.CommandButton button) Deprecated. -
isConfirmation
protected boolean isConfirmation(org.primefaces.component.commandbutton.CommandButton button) Deprecated.Check for ConfirmDialog or ConfirmPopup buttons.- Parameters:
button- the button to inspect- Returns:
- true if confirmation button
-
getToggleJS
Deprecated. -
getAttributeValue
protected String getAttributeValue(javax.faces.context.FacesContext context, org.primefaces.component.commandbutton.CommandButton button, String attribute) Deprecated. -
prefix
Deprecated.
-