The inputFile component renders an file input HTML element. Users specify a file to upload either by entering the path to a file directly, or by clicking the Browse button to open a file-system navigation dialog window. Clicking the Upload button uploads the specified file to the server.
The inputFile component can be used to provide a user-specified file upload capability.
The following code shows how to create a simple inputFile component:
<ice:inputFile
value="#{upload.file}"
rendered="#{upload.renderme}"
size="20"
/>
|
tag-name:
|
<ice:inputFile>
|
|
tag-class:
|
com.icesoft.faces.component.inputfile.InputFileTag
|
|
component-class:
|
com.icesoft.faces.component.inputfile.InputFile
|
|
component-type:
|
com.icesoft.faces.File
|
|
component-family:
|
com.icesoft.faces.File
|
|
renderer-class:
|
com.icesoft.faces.component.inputfile.InputFileRenderer
|
|
renderer-type:
|
com.icesoft.faces.Upload
|