Top Fields Constructors Methods
com.sun.faces.renderkit.html_basic

public Class OutcomeTargetButtonRenderer

extends OutcomeTargetRenderer
Class Inheritance
Imports
java.io.IOException, com.sun.faces.RIConstants, com.sun.faces.renderkit.Attribute, .AttributeManager, .RenderKitUtils, com.sun.faces.util.MessageUtils, .Util, jakarta.faces.application.NavigationCase, jakarta.faces.component.UIComponent, jakarta.faces.context.FacesContext, .ResponseWriter

Field Summary

Modifier and TypeField and Description
private static final Attribute[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
encodeBegin(FacesContext
FacesContext for the request we are processing
context
,
UIComponent
UIComponent to be rendered
component
)

Overrides jakarta.faces.render.Renderer.encodeBegin.

Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating.

public void
encodeEnd(FacesContext
FacesContext for the response we are creating
context
,
UIComponent
UIComponent to be rendered
component
)

Overrides com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd.

Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.

protected String
getOnclick(UIComponent component, String targetURI)

Inherited from com.sun.faces.renderkit.html_basic.OutcomeTargetRenderer:
addNavigationParamsdecodegetEncodedTargetURLgetFragmentgetLabelgetNavigationCasegetParamOverridesgetValueisIncludeViewParamsrenderPassThruAttributes

Field Detail

ATTRIBUTESback to summary
private static final Attribute[] ATTRIBUTES

Constructor Detail

OutcomeTargetButtonRendererback to summary
public OutcomeTargetButtonRenderer()

Method Detail

encodeBeginback to summary
public void encodeBegin(FacesContext context, UIComponent component) throws IOException

Overrides jakarta.faces.render.Renderer.encodeBegin.

Doc from jakarta.faces.render.Renderer.encodeBegin.

Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to getConvertedValue() for this component failed, the state information saved during execution of decode() should be used to reproduce the incorrect input.

Parameters
context:FacesContext

FacesContext for the request we are processing

component:UIComponent

UIComponent to be rendered

Annotations
@Override
Exceptions
IOException:
if an input/output error occurs while rendering
encodeEndback to summary
public void encodeEnd(FacesContext context, UIComponent component) throws IOException

Overrides com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd.

Doc from jakarta.faces.render.Renderer.encodeEnd.

Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.

Parameters
context:FacesContext

FacesContext for the response we are creating

component:UIComponent

UIComponent to be rendered

Annotations
@Override
Exceptions
IOException:
if an input/output error occurs while rendering
getOnclickback to summary
protected String getOnclick(UIComponent component, String targetURI)