public abstract class HtmlLinkRendererBase extends HtmlRenderer
| Modifier and Type | Field and Description |
|---|---|
static String |
END_LINK_OUTCOME_AS_SPAN |
PASSTHROUGH_RENDERER_LOCALNAME_KEY| 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
|
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 |
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, toUriconvertClientId, getConvertedValuepublic static final String END_LINK_OUTCOME_AS_SPAN
public boolean getRendersChildren()
getRendersChildren in class Rendererpublic void decode(FacesContext facesContext, UIComponent component)
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
encodeBegin in class RendererIOExceptionprotected 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 RendererIOExceptionpublic void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
encodeEnd in class RendererIOExceptionprotected void renderCommandLinkStart(FacesContext facesContext, UIComponent component, String clientId, Object value, String style, String styleClass) throws IOException
IOExceptionprotected void renderJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, FormInfo formInfo) throws IOException
IOExceptionprotected void renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, Map<String,List<ClientBehavior>> behaviors, FormInfo formInfo) throws IOException
IOExceptionprotected String buildServerOnclick(FacesContext facesContext, UIComponent component, String clientId, FormInfo formInfo) throws IOException
IOExceptionprotected FormInfo findNestingForm(UIComponent uiComponent, FacesContext facesContext)
need to be overrideable to deal with dummyForm stuff in tomahawk.
protected void addHiddenCommandParameter(FacesContext facesContext, UIComponent nestingForm, String hiddenFieldName)
protected void renderOutputLinkStart(FacesContext facesContext, UIOutput output) throws IOException
IOExceptionprotected void renderOutcomeLinkStart(FacesContext facesContext, UIOutcomeTarget output) throws IOException
IOExceptionprotected void renderOutcomeLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
IOExceptionprotected void renderOutputLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
IOExceptionprotected void renderCommandLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.