public class HtmlInputFileRendererBase extends HtmlRenderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
Constructor and Description |
---|
HtmlInputFileRendererBase() |
Modifier and Type | Method and Description |
---|---|
void |
decode(FacesContext facesContext,
UIComponent component) |
void |
encodeEnd(FacesContext facesContext,
UIComponent component) |
Object |
getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue) |
protected String |
getInputHtmlType(UIComponent component)
Returns the HTML type attribute of HTML input element, which is being rendered.
|
protected boolean |
isAutocompleteOff(FacesContext facesContext,
UIComponent component)
If autocomplete is "on" or not set, do not render it
|
protected boolean |
isDisabled(FacesContext facesContext,
UIComponent component) |
protected boolean |
isRenderOutputEventAttributes() |
protected void |
renderInput(FacesContext facesContext,
UIComponent component) |
protected void |
renderInputBegin(FacesContext facesContext,
UIComponent component) |
protected void |
renderInputEnd(FacesContext facesContext,
UIComponent component) |
static void |
renderOutputText(FacesContext facesContext,
UIComponent component,
String text,
boolean escape) |
protected void |
renderValue(FacesContext facesContext,
UIComponent component,
ResponseWriter writer) |
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId, toUri
convertClientId, encodeBegin, encodeChildren, getRendersChildren
public void decode(FacesContext facesContext, UIComponent component)
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
encodeEnd
in class Renderer
IOException
public Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue) throws ConverterException
getConvertedValue
in class Renderer
ConverterException
protected String getInputHtmlType(UIComponent component)
protected void renderValue(FacesContext facesContext, UIComponent component, ResponseWriter writer) throws IOException
IOException
protected boolean isRenderOutputEventAttributes()
protected void renderInput(FacesContext facesContext, UIComponent component) throws IOException
IOException
protected void renderInputBegin(FacesContext facesContext, UIComponent component) throws IOException
IOException
protected void renderInputEnd(FacesContext facesContext, UIComponent component) throws IOException
IOException
protected boolean isDisabled(FacesContext facesContext, UIComponent component)
protected boolean isAutocompleteOff(FacesContext facesContext, UIComponent component)
public static void renderOutputText(FacesContext facesContext, UIComponent component, String text, boolean escape) throws IOException
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.