org.apache.myfaces.shared.renderkit.html
Class HtmlLinkRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared.renderkit.html.HtmlRenderer
org.apache.myfaces.shared.renderkit.html.HtmlLinkRendererBase
public abstract class HtmlLinkRendererBase
- extends HtmlRenderer
- Version:
- $Revision: 1152968 $ $Date: 2011-08-01 18:24:53 -0500 (Mon, 01 Aug 2011) $
- Author:
- Manfred Geiler
Method Summary |
protected void |
addHiddenCommandParameter(FacesContext facesContext,
UIComponent nestingForm,
String hiddenFieldName)
|
protected String |
buildServerOnclick(FacesContext facesContext,
UIComponent component,
String clientId,
FormInfo formInfo)
|
void |
decode(FacesContext facesContext,
UIComponent component)
|
void |
encodeBegin(FacesContext facesContext,
UIComponent component)
|
void |
encodeChildren(FacesContext facesContext,
UIComponent component)
|
void |
encodeEnd(FacesContext facesContext,
UIComponent component)
|
protected FormInfo |
findNestingForm(UIComponent uiComponent,
FacesContext facesContext)
find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk. |
boolean |
getRendersChildren()
|
protected String |
getStyle(FacesContext facesContext,
UIComponent link)
Can be overwritten by derived classes to overrule the style to be used. |
protected String |
getStyleClass(FacesContext facesContext,
UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used. |
protected void |
renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String clientId,
Map<String,List<ClientBehavior>> behaviors,
FormInfo formInfo)
|
protected void |
renderCommandLinkEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderCommandLinkStart(FacesContext facesContext,
UIComponent component,
String clientId,
Object value,
String style,
String styleClass)
|
protected void |
renderJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String clientId,
FormInfo formInfo)
|
protected void |
renderNonJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String clientId,
FormInfo formInfo)
|
protected void |
renderOutcomeLinkEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderOutcomeLinkStart(FacesContext facesContext,
UIOutcomeTarget output)
|
protected void |
renderOutputLinkEnd(FacesContext facesContext,
UIComponent component)
|
protected void |
renderOutputLinkStart(FacesContext facesContext,
UIOutput output)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
END_LINK_OUTCOME_AS_SPAN
public static final String END_LINK_OUTCOME_AS_SPAN
- See Also:
- Constant Field Values
HtmlLinkRendererBase
public HtmlLinkRendererBase()
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in class Renderer
decode
public void decode(FacesContext facesContext,
UIComponent component)
- Overrides:
decode
in class Renderer
encodeBegin
public void encodeBegin(FacesContext facesContext,
UIComponent component)
throws IOException
- Overrides:
encodeBegin
in class Renderer
- Throws:
IOException
getStyle
protected String getStyle(FacesContext facesContext,
UIComponent link)
- Can be overwritten by derived classes to overrule the style to be used.
getStyleClass
protected String getStyleClass(FacesContext facesContext,
UIComponent link)
- Can be overwritten by derived classes to overrule the style class to be used.
encodeChildren
public void encodeChildren(FacesContext facesContext,
UIComponent component)
throws IOException
- Overrides:
encodeChildren
in class Renderer
- Throws:
IOException
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- Overrides:
encodeEnd
in class Renderer
- Throws:
IOException
renderCommandLinkStart
protected void renderCommandLinkStart(FacesContext facesContext,
UIComponent component,
String clientId,
Object value,
String style,
String styleClass)
throws IOException
- Throws:
IOException
renderJavaScriptAnchorStart
protected void renderJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String clientId,
FormInfo formInfo)
throws IOException
- Throws:
IOException
renderBehaviorizedJavaScriptAnchorStart
protected void renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String clientId,
Map<String,List<ClientBehavior>> behaviors,
FormInfo formInfo)
throws IOException
- Throws:
IOException
buildServerOnclick
protected String buildServerOnclick(FacesContext facesContext,
UIComponent component,
String clientId,
FormInfo formInfo)
throws IOException
- Throws:
IOException
findNestingForm
protected FormInfo findNestingForm(UIComponent uiComponent,
FacesContext facesContext)
- find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk.
addHiddenCommandParameter
protected void addHiddenCommandParameter(FacesContext facesContext,
UIComponent nestingForm,
String hiddenFieldName)
renderNonJavaScriptAnchorStart
protected void renderNonJavaScriptAnchorStart(FacesContext facesContext,
ResponseWriter writer,
UIComponent component,
String clientId,
FormInfo formInfo)
throws IOException
- Throws:
IOException
renderOutputLinkStart
protected void renderOutputLinkStart(FacesContext facesContext,
UIOutput output)
throws IOException
- Throws:
IOException
renderOutcomeLinkStart
protected void renderOutcomeLinkStart(FacesContext facesContext,
UIOutcomeTarget output)
throws IOException
- Throws:
IOException
renderOutcomeLinkEnd
protected void renderOutcomeLinkEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- Throws:
IOException
renderOutputLinkEnd
protected void renderOutputLinkEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- Throws:
IOException
renderCommandLinkEnd
protected void renderCommandLinkEnd(FacesContext facesContext,
UIComponent component)
throws IOException
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.