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

public abstract Class HtmlBasicInputRenderer

extends HtmlBasicRenderer
Class Inheritance
Known Direct Subclasses
com.sun.faces.renderkit.html_basic.LabelRenderer, com.sun.faces.renderkit.html_basic.MenuRenderer, com.sun.faces.renderkit.html_basic.OutputMessageRenderer, com.sun.faces.renderkit.html_basic.SecretRenderer, com.sun.faces.renderkit.html_basic.TextareaRenderer, com.sun.faces.renderkit.html_basic.TextRenderer, com.sun.faces.renderkit.html_basic.HiddenRenderer, com.sun.faces.renderkit.html_basic.CheckboxRenderer
Imports
java.util.List, .Map, java.util.logging.Level, com.sun.faces.util.MessageFactory, .MessageUtils, .RequestStateManager, jakarta.el.PropertyNotFoundException, .ValueExpression, jakarta.faces.application.Application, jakarta.faces.component.UIComponent, .UIInput, .ValueHolder, jakarta.faces.component.behavior.ClientBehavior, jakarta.faces.context.FacesContext, jakarta.faces.convert.Converter, .ConverterException

HtmlBasicInputRenderer is a base class for implementing renderers that support UIInput type components

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
Inherited from com.sun.faces.renderkit.html_basic.HtmlBasicRenderer:
EMPTY_PARAMSlogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getConvertedValue(FacesContext
FacesContext for the request we are processing
context
,
UIComponent
UIComponent to be decoded.
component
,
Object
a value stored on the component during decode.
submittedValue
)

Overrides jakarta.faces.render.Renderer.getConvertedValue.

Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one).

protected static Map<String, List<ClientBehavior>>
protected static Map<String, List<ClientBehavior>>
protected Object
private boolean
public void
setSubmittedValue(UIComponent
the target component to which the submitted value will be set
component
,
Object
the value to set
value
)

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

Renderers override this method to store the previous value of the associated component.

Inherited from com.sun.faces.renderkit.html_basic.HtmlBasicRenderer:
augmentIdReferenceconvertClientIddecodedecodeBehaviorsencodeEndencodeRecursivegetBehaviorParametersgetChildrengetCurrentValuegetEndTextToRendergetFacetgetForComponentgetFormattedValuegetFormattedValuegetMessageItergetParamListgetPassThruBehaviorsgetRendersChildrenisBehaviorSourcerendererParamsNotNullshouldDecodeshouldEncodeshouldEncodeChildrenshouldWriteIdAttributewriteIdAttributeIfNecessary

Field Detail

hasStringConverterback to summary
private boolean hasStringConverter
hasStringConverterSetback to summary
private boolean hasStringConverterSet

Constructor Detail

HtmlBasicInputRendererback to summary
public HtmlBasicInputRenderer()

Method Detail

getConvertedValueback to summary
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException

Overrides jakarta.faces.render.Renderer.getConvertedValue.

Doc from jakarta.faces.render.Renderer.getConvertedValue.

Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.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.

Parameters
context:FacesContext

FacesContext for the request we are processing

component:UIComponent

UIComponent to be decoded.

submittedValue:Object

a value stored on the component during decode.

Returns:Object

the converted value

Annotations
@Override
Exceptions
ConverterException:
if the submitted value cannot be converted successfully.
getNonOnChangeBehaviorsback to summary
protected static Map<String, List<ClientBehavior>> getNonOnChangeBehaviors(UIComponent component)
getNonOnClickSelectBehaviorsback to summary
protected static Map<String, List<ClientBehavior>> getNonOnClickSelectBehaviors(UIComponent component)
getValueback to summary
protected Object getValue(UIComponent component)

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

Annotations
@Override
hasStringConverterback to summary
private boolean hasStringConverter(FacesContext context)
setSubmittedValueback to summary
public void setSubmittedValue(UIComponent component, Object value)

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

Doc from com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.setSubmittedValue.

Renderers override this method to store the previous value of the associated component.

Parameters
component:UIComponent

the target component to which the submitted value will be set

value:Object

the value to set

Annotations
@Override