org.apache.myfaces.tobago.taglib.component
Interface FileTagDeclaration

All Superinterfaces:
BeanTagDeclaration, HasBinding, HasDeprecatedLabel, HasId, HasIdBindingAndRendered, 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.


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
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 javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasValidator
setValidator
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasOnchange
setOnchange
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasValueChangeListener
setValueChangeListener
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsDisabled
setDisabled
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasDeprecatedLabel
setLabel
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasLabelWithAccessKey
setAccessKey, setLabelWithAccessKey
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasTip
setTip
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsReadonly
setReadonly
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRequired
setRequired
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasTabIndex
setTabIndex
 

Method Detail

setValue

void setValue(String value)
Value binding expression pointing to a org.apache.commons.fileupload.FileItem property to store the uploaded file.



Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.