org.apache.myfaces.tobago.taglib.component
Interface FileTagDeclaration
- All Superinterfaces:
- BeanTagDeclaration, HasBinding, HasId, HasIdBindingAndRendered, HasLabel, HasLabelAndAccessKey, HasLabelWithAccessKey, HasOnchange, HasTabIndex, HasTip, HasValidator, HasValueChangeListener, IsDisabled, IsReadonly, IsRendered, IsRequired, JspTag, Tag, TobagoTagDeclaration
- All Known Implementing Classes:
- FileTag
public interface FileTagDeclaration
- extends BeanTagDeclaration, HasValidator, HasOnchange, HasValueChangeListener, HasIdBindingAndRendered, IsDisabled, HasLabelAndAccessKey, HasTip, IsReadonly, IsRequired, HasTabIndex
Renders a file input field.
You need to define an org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter in your web.xml or
add the tobago-fileupload.jar to your project.
The tobago-fileupload.jar contains a FacesContextFactory that wraps the
multipart-formdata request inside the facesContext.
Method Summary |
void |
setValue(String value)
Value binding expression pointing to a
org.apache.commons.fileupload.FileItem property to store the
uploaded file. |
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId |
setId |
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasLabel |
setLabel |
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasTip |
setTip |
setValue
void setValue(String value)
- Value binding expression pointing to a
org.apache.commons.fileupload.FileItem
property to store the
uploaded file.
Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.