public class HtmlButtonRendererBase extends HtmlRenderer
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_FOR_LIST |
PASSTHROUGH_RENDERER_LOCALNAME_KEY
Constructor and Description |
---|
HtmlButtonRendererBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addHiddenCommandParameter(FacesContext facesContext,
UIComponent nestingForm,
String hiddenFieldName) |
protected String |
buildBehaviorizedOnClick(UIComponent uiComponent,
Map<String,List<ClientBehavior>> behaviors,
FacesContext facesContext,
ResponseWriter writer,
FormInfo nestedFormInfo,
List<UIParameter> validParams) |
protected StringBuilder |
buildOnClick(UIComponent uiComponent,
FacesContext facesContext,
ResponseWriter writer,
List<UIParameter> validParams) |
protected String |
buildServerOnclick(FacesContext facesContext,
UIComponent component,
String clientId,
FormInfo formInfo,
List<UIParameter> validParams) |
void |
decode(FacesContext facesContext,
UIComponent uiComponent) |
void |
encodeBegin(FacesContext facesContext,
UIComponent uiComponent) |
void |
encodeEnd(FacesContext facesContext,
UIComponent uiComponent) |
protected FormInfo |
findNestingForm(UIComponent uiComponent,
FacesContext facesContext)
find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk. |
protected boolean |
isDisabled(FacesContext facesContext,
UIComponent uiComponent) |
protected boolean |
isReadonly(FacesContext facesContext,
UIComponent uiComponent) |
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
convertClientId, encodeChildren, getConvertedValue, getRendersChildren
public static final String ACTION_FOR_LIST
public void decode(FacesContext facesContext, UIComponent uiComponent)
public void encodeBegin(FacesContext facesContext, UIComponent uiComponent) throws IOException
encodeBegin
in class Renderer
IOException
public void encodeEnd(FacesContext facesContext, UIComponent uiComponent) throws IOException
encodeEnd
in class Renderer
IOException
protected String buildBehaviorizedOnClick(UIComponent uiComponent, Map<String,List<ClientBehavior>> behaviors, FacesContext facesContext, ResponseWriter writer, FormInfo nestedFormInfo, List<UIParameter> validParams) throws IOException
IOException
protected String buildServerOnclick(FacesContext facesContext, UIComponent component, String clientId, FormInfo formInfo, List<UIParameter> validParams) throws IOException
IOException
protected StringBuilder buildOnClick(UIComponent uiComponent, FacesContext facesContext, ResponseWriter writer, List<UIParameter> validParams) throws IOException
IOException
protected void addHiddenCommandParameter(FacesContext facesContext, UIComponent nestingForm, String hiddenFieldName)
protected FormInfo findNestingForm(UIComponent uiComponent, FacesContext facesContext)
protected boolean isDisabled(FacesContext facesContext, UIComponent uiComponent)
protected boolean isReadonly(FacesContext facesContext, UIComponent uiComponent)
Copyright © 2020 The Apache Software Foundation. All rights reserved.