org.apache.myfaces.shared.renderkit.html
Class HtmlButtonRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared.renderkit.html.HtmlRenderer
org.apache.myfaces.shared.renderkit.html.HtmlButtonRendererBase
public class HtmlButtonRendererBase
- extends HtmlRenderer
- Version:
- $Revision: 1230371 $ $Date: 2012-01-11 21:09:45 -0500 (Wed, 11 Jan 2012) $
- Author:
- Manfred Geiler (latest modification by $Author: lu4242 $), Thomas Spiegl, Anton Koinov
Method Summary |
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 |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_FOR_LIST
public static final String ACTION_FOR_LIST
- See Also:
- Constant Field Values
HtmlButtonRendererBase
public HtmlButtonRendererBase()
decode
public void decode(FacesContext facesContext,
UIComponent uiComponent)
- Overrides:
decode
in class Renderer
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent uiComponent)
throws IOException
- Overrides:
encodeEnd
in class Renderer
- Throws:
IOException
buildBehaviorizedOnClick
protected String buildBehaviorizedOnClick(UIComponent uiComponent,
Map<String,List<ClientBehavior>> behaviors,
FacesContext facesContext,
ResponseWriter writer,
FormInfo nestedFormInfo,
List<UIParameter> validParams)
throws IOException
- Throws:
IOException
buildServerOnclick
protected String buildServerOnclick(FacesContext facesContext,
UIComponent component,
String clientId,
FormInfo formInfo,
List<UIParameter> validParams)
throws IOException
- Throws:
IOException
buildOnClick
protected StringBuilder buildOnClick(UIComponent uiComponent,
FacesContext facesContext,
ResponseWriter writer,
List<UIParameter> validParams)
throws IOException
- Throws:
IOException
addHiddenCommandParameter
protected void addHiddenCommandParameter(FacesContext facesContext,
UIComponent nestingForm,
String hiddenFieldName)
findNestingForm
protected FormInfo findNestingForm(UIComponent uiComponent,
FacesContext facesContext)
- find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk.
isDisabled
protected boolean isDisabled(FacesContext facesContext,
UIComponent uiComponent)
isReadonly
protected boolean isReadonly(FacesContext facesContext,
UIComponent uiComponent)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.