public abstract class HtmlBasicInputRenderer extends HtmlBasicRenderer
HtmlBasicRenderer.OptionComponentInfo, HtmlBasicRenderer.Param
EMPTY_PARAMS, logger
PASSTHROUGH_RENDERER_LOCALNAME_KEY
Constructor and Description |
---|
HtmlBasicInputRenderer() |
Modifier and Type | Method and Description |
---|---|
Object |
getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue)
Attempt to convert previously stored state information into an
object of the type required for this component (optionally using the
registered
Converter for this component,
if there is one). |
protected static Map<String,List<ClientBehavior>> |
getNonOnChangeBehaviors(UIComponent component) |
protected static Map<String,List<ClientBehavior>> |
getNonOnClickSelectBehaviors(UIComponent component) |
protected Object |
getValue(UIComponent component) |
void |
setSubmittedValue(UIComponent component,
Object value)
Renderers override this method to store the previous value of the associated
component.
|
augmentIdReference, convertClientId, decode, decodeBehaviors, encodeEnd, encodeRecursive, getBehaviorParameters, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getFormattedValue, getMessageIter, getParamList, getPassThruBehaviors, getRendersChildren, isBehaviorSource, rendererParamsNotNull, shouldDecode, shouldEncode, shouldEncodeChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
encodeBegin, encodeChildren
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException
Renderer
Attempt to convert previously stored state information into an
object of the type required for this component (optionally using the
registered Converter
for this component,
if there is one). If conversion is successful, the new value
should be returned from this method; if not, a
ConverterException
should be thrown.
getConvertedValue
in class Renderer
context
- FacesContext
for the request we are processingcomponent
- UIComponent
to be decoded.submittedValue
- a value stored on the component during
decode
.ConverterException
- if the submitted value
cannot be converted successfully.public void setSubmittedValue(UIComponent component, Object value)
HtmlBasicRenderer
setSubmittedValue
in class HtmlBasicRenderer
component
- the target component to which the submitted value will be setvalue
- the value to setprotected Object getValue(UIComponent component)
getValue
in class HtmlBasicRenderer
protected static Map<String,List<ClientBehavior>> getNonOnChangeBehaviors(UIComponent component)
protected static Map<String,List<ClientBehavior>> getNonOnClickSelectBehaviors(UIComponent component)
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.