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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(FacesContext context, UIComponent component) Perform setup processing that will be required for decoding the incoming request.void
renderAttributes
(FacesContext context, UIComponent component, ResponseWriter writer) Render the attributes of a hyperlink to submit this form.void
renderEnd
(FacesContext context, UIComponent component, ResponseWriter writer) Render the end of a hyperlink to submit this form.void
renderStart
(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, setSubmittedValue
Methods 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:
decode
in classAbstractRenderer
- Parameters:
context
- FacesContext for the request we are processingcomponent
- UIComponent to be processed- Throws:
NullPointerException
- ifcontext
orcomponent
is null
-
renderStart
public void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException Render the beginning of a hyperlink to submit this form.
- Overrides:
renderStart
in 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
- ifcontext
orcomponent
is null
-
renderAttributes
public void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException Render the attributes of a hyperlink to submit this form.
- Overrides:
renderAttributes
in 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
- ifcontext
orcomponent
is null
-
renderEnd
public void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException Render the end of a hyperlink to submit this form.
- Overrides:
renderEnd
in 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
- ifcontext
orcomponent
is null
-