com.sun.faces.renderkit.html_basic
public abstract class OutcomeTargetRenderer extends HtmlBasicRenderer
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param
EMPTY_PARAMS, logger
Constructor and Description |
---|
OutcomeTargetRenderer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNavigationParams(javax.faces.application.NavigationCase navCase,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> existingParams) |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected java.lang.String |
getEncodedTargetURL(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.application.NavigationCase navCase)
Resolve the target view id and then delegate to
ViewHandler.getBookmarkableURL(javax.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 java.lang.String |
getFragment(javax.faces.component.UIComponent component) |
protected java.lang.String |
getLabel(javax.faces.component.UIComponent component) |
protected javax.faces.application.NavigationCase |
getNavigationCase(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Invoke the
NavigationHandler preemptively to resolve a NavigationCase
for the outcome declared on the UIOutcomeTarget component. |
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getParamOverrides(javax.faces.component.UIComponent component) |
protected java.lang.Object |
getValue(javax.faces.component.UIComponent component) |
protected boolean |
isIncludeViewParams(javax.faces.component.UIComponent component,
javax.faces.application.NavigationCase navcase) |
protected void |
renderPassThruAttributes(javax.faces.context.FacesContext ctx,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
Attribute[] attributes,
java.util.List excludedAttributes) |
augmentIdReference, convertClientId, decodeBehaviors, encodeEnd, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, isBehaviorSource, rendererParamsNotNull, setSubmittedValue, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class HtmlBasicRenderer
protected void renderPassThruAttributes(javax.faces.context.FacesContext ctx, javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent component, Attribute[] attributes, java.util.List excludedAttributes) throws java.io.IOException
java.io.IOException
protected java.lang.String getLabel(javax.faces.component.UIComponent component)
protected java.lang.String getFragment(javax.faces.component.UIComponent component)
protected java.lang.Object getValue(javax.faces.component.UIComponent component)
getValue
in class HtmlBasicRenderer
protected boolean isIncludeViewParams(javax.faces.component.UIComponent component, javax.faces.application.NavigationCase navcase)
protected javax.faces.application.NavigationCase getNavigationCase(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
NavigationHandler
preemptively to resolve a NavigationCase
for the outcome declared on the UIOutcomeTarget
component. The current view id
is used as the from-view-id when matching navigation cases and the from-action is
assumed to be null.context
- the FacesContext
for the current requestcomponent
- the target UIComponent
protected java.lang.String getEncodedTargetURL(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.application.NavigationCase navCase)
Resolve the target view id and then delegate to
ViewHandler.getBookmarkableURL(javax.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.
context
- the FacesContext
for the current requestcomponent
- the target UIComponent
navCase
- the target navigation caseprotected void addNavigationParams(javax.faces.application.NavigationCase navCase, java.util.Map<java.lang.String,java.util.List<java.lang.String>> existingParams)
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> getParamOverrides(javax.faces.component.UIComponent component)
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.