Class Hierarchy All Classes All Fields and Methods

 

Class com.ibm.faces.component.UIFileupload

java.lang.Object
        javax.faces.component.UIComponent
                javax.faces.component.UIComponentBase
                        javax.faces.component.UIOutput
                                javax.faces.component.UIInput
                                        com.ibm.faces.component.UIFileupload

public class UIFileupload
extends UIInput

UIFileupload is a UIComponent that allows the client to upload a file to the server. The HTML form that the component is used on must be encoded with "multipart/form-data".

Tags:
Renderers: FileuploadRenderer

Field Index
Field Description
COMPONENT_FAMILY The standard component family for this component.
IAE_MSG  
VALUE_REF_BYTE_ARRAY  
VALUE_REF_STREAM  
VALUE_REF_STRING  

Constructor Index
Constructor Description
UIFileupload()  

Method Index
Method Description
String getComponentType() Returns component type.
String getFamily()  
String getFilename()  
String getMimetype()  
boolean getRendersChildren() Returns a flag indicating whether this component is responsible for rendering its child components.
Object getValue() Returns value.
void setFilename(String) Setter for the filename property
void setMimetype(String) Setter for the mimetype property
void setValue(Object) Sets value.
void updateModel(FacesContext) Updates the model data associated with this component.

 

Fields

 

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY

The standard component family for this component.

 

IAE_MSG

public static final java.lang.String IAE_MSG

 

VALUE_REF_BYTE_ARRAY

public static final int VALUE_REF_BYTE_ARRAY

 

VALUE_REF_STREAM

public static final int VALUE_REF_STREAM

 

VALUE_REF_STRING

public static final int VALUE_REF_STRING

 

Constructors

 

UIFileupload

public UIFileupload() 

 

Methods

 

getComponentType

public String getComponentType() 

Returns component type.

 

getFamily

public String getFamily() 

 

getFilename

public String getFilename() 

 

getMimetype

public String getMimetype() 

 

getRendersChildren

public boolean getRendersChildren() 

Returns a flag indicating whether this component is responsible for rendering its child components.

 

getValue

public Object getValue() 

Returns value.

 

setFilename

public void setFilename(String string) 

Setter for the filename property

 

setMimetype

public void setMimetype(String string) 

Setter for the mimetype property

 

setValue

public void setValue(Object valueRef) 

Sets value.

 

updateModel

public void updateModel(FacesContext context) 

Updates the model data associated with this component.

Class Hierarchy All Classes All Fields and Methods