Package org.apache.struts.faces.renderer
Class CommandLinkRenderer
java.lang.Object
jakarta.faces.render.Renderer
org.apache.struts.faces.renderer.AbstractRenderer
org.apache.struts.faces.renderer.CommandLinkRenderer
Renderer implementation for the commandLink
tag from the Struts-Faces Integration Library.
- Version:
- $Rev$ $Date$
-
Field Summary
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(FacesContext context, UIComponent component) Perform setup processing that will be required for decoding the incoming request.voidrenderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) Render the attributes of a hyperlink to submit this form.voidrenderEnd(FacesContext context, UIComponent component, ResponseWriter writer) Render the end of a hyperlink to submit this form.voidrenderStart(FacesContext context, UIComponent component, ResponseWriter writer) Render the beginning of a hyperlink to submit this form.Methods inherited from class org.apache.struts.faces.renderer.AbstractRenderer
encodeBegin, encodeChildren, encodeEnd, encodeRecursive, getAsString, isDisabled, isReadOnly, isXhtml, renderBoolean, renderPassThrough, searchComponent, setSubmittedValueMethods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue, getRendersChildren
-
Constructor Details
-
CommandLinkRenderer
public CommandLinkRenderer()
-
-
Method Details
-
decode
Perform setup processing that will be required for decoding the incoming request.
- Overrides:
decodein classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be processed- Throws:
NullPointerException- ifcontextorcomponentis null
-
renderStart
public void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException Render the beginning of a hyperlink to submit this form.
- Overrides:
renderStartin classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be renderedwriter- ResponseWriter we are rendering to- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentis null
-
renderAttributes
public void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException Render the attributes of a hyperlink to submit this form.
- Overrides:
renderAttributesin classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be renderedwriter- ResponseWriter we are rendering to- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentis null
-
renderEnd
public void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException Render the end of a hyperlink to submit this form.
- Overrides:
renderEndin classAbstractRenderer- Parameters:
context- FacesContext for the request we are processingcomponent- UIComponent to be renderedwriter- ResponseWriter we are rendering to- Throws:
IOException- if an input/output error occurs while renderingNullPointerException- ifcontextorcomponentis null
-