Class Hierarchy All Classes All Fields and Methods

 

Class com.ibm.faces.renderkit.html_extended.FileuploadRenderer

java.lang.Object
        javax.faces.render.Renderer
                com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
                        com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer
                                com.ibm.faces.renderkit.html_extended.FileuploadRenderer

public class FileuploadRenderer
extends HtmlBasicInputRenderer

Renderer for UIFileupload component that creates an input field and a browse button.

Tags:
Components: UIFileupload

Constructor Index
Constructor Description
FileuploadRenderer()  

Method Index
Method Description
void decode(FacesContext, UIComponent) Decodes the current state of the component.
void encodeBegin(FacesContext, UIComponent) Renders the beginning of the component.
void encodeChildren(FacesContext, UIComponent) Renders component's children.
void encodeEnd(FacesContext, UIComponent) Renders the ending of the component.
Object getConvertedValue(FacesContext, UIComponent, Object)  

 

Constructors

 

FileuploadRenderer

public FileuploadRenderer() 

 

Methods

 

decode

public void decode(FacesContext context,
                   UIComponent component) 

Decodes the current state of the component.

Performs various checks of the data being uploaded to make sure it's valid.
Verifies data to be acceptable, based on accept and excludeattributes.

 

encodeBegin

public void encodeBegin(FacesContext context,
                        UIComponent component) throws IOException

Renders the beginning of the component.

Doesn't need to do anything; all processing is done in encodeEnd.

 

encodeChildren

public void encodeChildren(FacesContext context,
                           UIComponent component) throws IOException

Renders component's children.

Encodes nested (if any)UIFileProp components.

 

encodeEnd

public void encodeEnd(FacesContext context,
                      UIComponent component) throws IOException

Renders the ending of the component.

Renders the entire component.

Creates an INPUT tag with "file" type. Browsers render this as an text input field and a file browse button.

 

getConvertedValue

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

Class Hierarchy All Classes All Fields and Methods