Attributes |
Name | Required | Request-time | Type | Description |
value | false | false | java.lang.String |
The current value of this component. If the "directory" attribute is not
used, the value of the component is the uploaded FileItem. If the "directory"
attribute is used, the value of the component is the server-side absolute
path to the uploaded file.
|
directory | false | false | java.lang.String |
If present, the directory to which to persist uploaded files. Use of this
attribute is discouraged. If this attribute is used, a tool which contains
the tag will not
be cluster-safe since different application servers probably do not share
the same filesystem. If a file already exists and another file of the same
name is uploaded, the existing file will be overwritten.
|
valueChangeListener | false | false | java.lang.String |
This is the recommended way to access the uploaded file. The valueChangeListener
will be called when a file is uploaded.MethodBinding representing a value change
listener method that will be
notified when a new value has been set for this input component. The
expression must evaluate to a public method that takes a
ValueChangeEvent parameter, with a return type of void.
|
style | false | false | java.lang.String |
CSS style(s) to be applied to the underlying input tag when it is rendered.
|
styleClass | false | false | java.lang.String |
Space-separated list of CSS style class(es) to be applied when
the underlying input tag is rendered. This value must be passed through
as the "class" attribute on generated markup.
|
id | false | false | java.lang.String |
The component identifier for this component. This value must be
unique within the closest parent component that is a naming
container.
|
binding | false | false | java.lang.String |
|
rendered | false | false | java.lang.String |
Flag indicating whether or not this component should be rendered
(during Render Response Phase), or processed on any subsequent
form submit.
|
immediate | false | false | java.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.
|
required | false | false | java.lang.String |
Flag indicating that the user is required to provide a submitted
value for this input component.
|
validator | false | false | java.lang.String |
MethodBinding representing a validator method that will be called
during Process Validations to perform correctness checks on the
value of this component. The expression must evaluate to a public
method that takes FacesContext, UIComponent, and Object parameters,
with a return type of void.
|
accept | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
align | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
accesskey | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
maxlength | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
size | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
disabled | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
readonly | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|
tabindex | false | false | java.lang.String |
Pass-through attribute. Will be output as-is on the underlying input element.
|