Class HtmlBasicInputRenderer
- java.lang.Object
-
- jakarta.faces.render.Renderer
-
- com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
-
- com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer
-
- Direct Known Subclasses:
CheckboxRenderer,HiddenRenderer,LabelRenderer,MenuRenderer,OutputMessageRenderer,SecretRenderer,TextareaRenderer,TextRenderer
public abstract class HtmlBasicInputRenderer extends HtmlBasicRenderer
HtmlBasicInputRenderer is a base class for implementing renderers that support UIInput type components
-
-
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, logger
-
Fields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlBasicInputRenderer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetConvertedValue(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 registeredConverterfor 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 ObjectgetValue(UIComponent component)voidsetSubmittedValue(UIComponent component, Object value)Renderers override this method to store the previous value of the associated component.-
Methods inherited from class com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
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
-
Methods inherited from class jakarta.faces.render.Renderer
encodeBegin, encodeChildren
-
-
-
-
Method Detail
-
getConvertedValue
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException
Description copied from class:RendererAttempt to convert previously stored state information into an object of the type required for this component (optionally using the registered
Converterfor this component, if there is one). If conversion is successful, the new value should be returned from this method; if not, aConverterExceptionshould be thrown.- Overrides:
getConvertedValuein classRenderer- Parameters:
context-FacesContextfor the request we are processingcomponent-UIComponentto be decoded.submittedValue- a value stored on the component duringdecode.- Returns:
- the converted value
- Throws:
ConverterException- if the submitted value cannot be converted successfully.
-
setSubmittedValue
public void setSubmittedValue(UIComponent component, Object value)
Description copied from class:HtmlBasicRendererRenderers override this method to store the previous value of the associated component.- Overrides:
setSubmittedValuein classHtmlBasicRenderer- Parameters:
component- the target component to which the submitted value will be setvalue- the value to set
-
getValue
protected Object getValue(UIComponent component)
- Overrides:
getValuein classHtmlBasicRenderer
-
getNonOnChangeBehaviors
protected static Map<String,List<ClientBehavior>> getNonOnChangeBehaviors(UIComponent component)
-
getNonOnClickSelectBehaviors
protected static Map<String,List<ClientBehavior>> getNonOnClickSelectBehaviors(UIComponent component)
-
-