public abstract class HtmlLinkRendererBase extends HtmlRenderer
Modifier and Type | Field and Description |
---|---|
static String |
END_LINK_OUTCOME_AS_SPAN |
Constructor and Description |
---|
HtmlLinkRendererBase() |
Modifier and Type | Method and Description |
---|---|
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) |
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
convertClientId, getConvertedValue
public static final String END_LINK_OUTCOME_AS_SPAN
public boolean getRendersChildren()
getRendersChildren
in class Renderer
public void decode(FacesContext facesContext, UIComponent component)
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
encodeBegin
in class Renderer
IOException
protected String getStyle(FacesContext facesContext, UIComponent link)
protected String getStyleClass(FacesContext facesContext, UIComponent link)
public void encodeChildren(FacesContext facesContext, UIComponent component) throws IOException
encodeChildren
in class Renderer
IOException
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
encodeEnd
in class Renderer
IOException
protected void renderCommandLinkStart(FacesContext facesContext, UIComponent component, String clientId, Object value, String style, String styleClass) throws IOException
IOException
protected void renderJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, FormInfo formInfo) throws IOException
IOException
protected void renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, Map<String,List<ClientBehavior>> behaviors, FormInfo formInfo) throws IOException
IOException
protected String buildServerOnclick(FacesContext facesContext, UIComponent component, String clientId, FormInfo formInfo) throws IOException
IOException
protected FormInfo findNestingForm(UIComponent uiComponent, FacesContext facesContext)
protected void addHiddenCommandParameter(FacesContext facesContext, UIComponent nestingForm, String hiddenFieldName)
protected void renderNonJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, FormInfo formInfo) throws IOException
IOException
protected void renderOutputLinkStart(FacesContext facesContext, UIOutput output) throws IOException
IOException
protected void renderOutcomeLinkStart(FacesContext facesContext, UIOutcomeTarget output) throws IOException
IOException
protected void renderOutcomeLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
IOException
protected void renderOutputLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
IOException
protected void renderCommandLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.