ice
Tag inputFile


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.
Note: The inputFile component must render itself inside a form with its encode type set to "multipart/form-data". This limitation prevents using the inputFile component inside another form.


Tag Information
Tag Classcom.icesoft.faces.component.inputfile.InputFileTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsefalsejava.lang.String User-defined id that will override the automatically-generated id.
filefalsefalsejava.lang.String Bean property that will be a reference to the uploaded file.
sizefalsefalsejava.lang.String Size of the input text box.
labelfalsefalsejava.lang.String Text that will appear on the submit button.
renderedfalsefalsejava.lang.StringIf false, this component will not be rendered.
disabledfalsefalsejava.lang.String Flag indicating that this element must never receive focus or be included in a subsequent submit.
enabledOnUserRolefalsefalsejava.lang.String If user is in given role, this component will be rendered normally. If not, the component will be in disabled state.
bindingfalsefalsejava.lang.StringComponent binding.
immediatefalsefalsejava.lang.String Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase.
readonlyfalsefalsejava.lang.StringFlag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled.
validatorfalsefalsejava.lang.StringMethodBinding pointing at a method that will be called during Process Validations phase of the request processing lifecycle, to validate the current value of this component.
valueChangeListenerfalsefalsejava.lang.String Listener for value changes.
acceptfalsefalsejava.lang.String Passed through to root element.
actionfalsefalsejava.lang.StringMethodBinding pointing at the application action to be invoked, if this UIComponent is activated by the user, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property.
actionListenerfalsefalsejava.lang.StringMethodBinding pointing at method accepting an ActionEvent with return type void.
accesskeyfalsefalsejava.lang.String Passed through to root element.
altfalsefalsejava.lang.String Passed through to root element.
maxlengthfalsefalsejava.lang.String Passed through to root element.
onblurfalsefalsejava.lang.String Passed through to root element.
onchangefalsefalsejava.lang.String Passed through to root element.
onfocusfalsefalsejava.lang.String Passed through to root element.
onselectfalsefalsejava.lang.String Passed through to root element.
tabindexfalsefalsejava.lang.String Passed through to root element.
styleClassfalsefalsejava.lang.String Base Name for style class names: baseNameText = Style of file select input text baseNameButton = Style of the upload button
renderedOnUserRolefalsefalsejava.lang.String If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.