java.lang.Object
jakarta.faces.render.Renderer
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
com.sun.faces.renderkit.html_basic.OutcomeTargetRenderer
- Direct Known Subclasses:
OutcomeTargetButtonRenderer,OutcomeTargetLinkRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param -
Field Summary
Fields inherited from class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
EMPTY_PARAMS, loggerFields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddNavigationParams(NavigationCase navCase, Map<String, List<String>> existingParams) voiddecode(FacesContext context, UIComponent component) Decode any new state of the specifiedUIComponentfrom the request contained in the specifiedFacesContext, and store that state on theUIComponent.protected StringgetEncodedTargetURL(FacesContext context, UIComponent component, NavigationCase navCase) Resolve the target view id and then delegate toViewHandler.getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean)to produce a redirect URL, which will add the page parameters if necessary and properly prioritizing the parameter overrides.protected StringgetFragment(UIComponent component) protected StringgetLabel(UIComponent component) protected NavigationCasegetNavigationCase(FacesContext context, UIComponent component) Invoke theNavigationHandlerpreemptively to resolve aNavigationCasefor the outcome declared on theUIOutcomeTargetcomponent.getParamOverrides(UIComponent component) protected ObjectgetValue(UIComponent component) protected booleanisIncludeViewParams(UIComponent component, NavigationCase navcase) protected voidrenderPassThruAttributes(FacesContext ctx, ResponseWriter writer, UIComponent component, Attribute[] attributes, List excludedAttributes) Methods inherited from class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
augmentIdReference, convertClientId, decodeBehaviors, encodeEnd, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, isBehaviorSource, rendererParamsNotNull, setSubmittedValue, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessaryMethods inherited from class jakarta.faces.render.Renderer
encodeBegin, encodeChildren, getConvertedValue
-
Constructor Details
-
OutcomeTargetRenderer
public OutcomeTargetRenderer()
-
-
Method Details
-
decode
Description copied from class:RendererDecode any new state of the specified
UIComponentfrom the request contained in the specifiedFacesContext, and store that state on theUIComponent.During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling
queueEvent()on the associatedUIComponent.- Overrides:
decodein classHtmlBasicRenderer- Parameters:
context-FacesContextfor the request we are processingcomponent-UIComponentto be decoded.
-
renderPassThruAttributes
protected void renderPassThruAttributes(FacesContext ctx, ResponseWriter writer, UIComponent component, Attribute[] attributes, List excludedAttributes) throws IOException - Throws:
IOException
-
getLabel
-
getFragment
-
getValue
- Overrides:
getValuein classHtmlBasicRenderer
-
getParamOverrides
-