org.apache.myfaces.shared_orchestra.renderkit.html
Class HtmlLinkRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared_orchestra.renderkit.html.HtmlRenderer
org.apache.myfaces.shared_orchestra.renderkit.html.HtmlLinkRendererBase
public abstract class HtmlLinkRendererBase
- extends HtmlRenderer
- Version:
- $Revision: 947902 $ $Date: 2010-05-24 22:39:45 -0500 (Mon, 24 May 2010) $
- Author:
- Manfred Geiler
Method Summary |
protected void |
addHiddenCommandParameter(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent nestingForm,
String hiddenFieldName)
|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected FormInfo |
findNestingForm(javax.faces.component.UIComponent uiComponent,
javax.faces.context.FacesContext facesContext)
find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk. |
boolean |
getRendersChildren()
|
protected String |
getStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
Can be overwritten by derived classes to overrule the style to be used. |
protected String |
getStyleClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used. |
protected void |
renderCommandLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderCommandLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String clientId,
Object value,
String style,
String styleClass)
|
protected void |
renderJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId)
|
protected void |
renderNonJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId)
|
protected void |
renderOutputLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected void |
renderOutputLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, getConvertedValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URL_STATE_MARKER
public static final String URL_STATE_MARKER
- See Also:
- Constant Field Values
URL_STATE_MARKER_LEN
public static final int URL_STATE_MARKER_LEN
HtmlLinkRendererBase
public HtmlLinkRendererBase()
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class javax.faces.render.Renderer
decode
public void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
- Overrides:
decode
in class javax.faces.render.Renderer
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Overrides:
encodeBegin
in class javax.faces.render.Renderer
- Throws:
IOException
getStyle
protected String getStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
- Can be overwritten by derived classes to overrule the style to be used.
getStyleClass
protected String getStyleClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
- Can be overwritten by derived classes to overrule the style class to be used.
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Overrides:
encodeChildren
in class javax.faces.render.Renderer
- Throws:
IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Overrides:
encodeEnd
in class javax.faces.render.Renderer
- Throws:
IOException
renderCommandLinkStart
protected void renderCommandLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String clientId,
Object value,
String style,
String styleClass)
throws IOException
- Throws:
IOException
renderJavaScriptAnchorStart
protected void renderJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId)
throws IOException
- Throws:
IOException
findNestingForm
protected FormInfo findNestingForm(javax.faces.component.UIComponent uiComponent,
javax.faces.context.FacesContext facesContext)
- find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk.
addHiddenCommandParameter
protected void addHiddenCommandParameter(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent nestingForm,
String hiddenFieldName)
renderNonJavaScriptAnchorStart
protected void renderNonJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId)
throws IOException
- Throws:
IOException
renderOutputLinkStart
protected void renderOutputLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output)
throws IOException
- Throws:
IOException
renderOutputLinkEnd
protected void renderOutputLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Throws:
IOException
renderCommandLinkEnd
protected void renderCommandLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.