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

All Superinterfaces:
HasBinding, HasConverterMessage, HasCurrentMarkup, HasId, HasIdBindingAndRendered, HasLabel, HasLabelAndAccessKey, HasLabelWithAccessKey, HasMarkup, HasOnchange, HasRequiredMessage, HasTabIndex, HasTip, HasValidator, HasValidatorMessage, HasValueChangeListener, IsDisabled, IsGridLayoutComponent, IsGridLayoutComponentBase, IsReadonly, IsRendered, IsRequired

public interface FileTagDeclaration
extends HasValidator, HasValidatorMessage, HasRequiredMessage, HasConverterMessage, HasOnchange, HasValueChangeListener, HasIdBindingAndRendered, IsDisabled, HasMarkup, HasCurrentMarkup, HasLabelAndAccessKey, HasTip, IsReadonly, IsRequired, HasTabIndex, IsGridLayoutComponent

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.

For content constraints please use tc:validateFileItem.


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.internal.taglib.declaration.HasValidator
setValidator
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValidatorMessage
setValidatorMessage
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasRequiredMessage
setRequiredMessage
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasConverterMessage
setConverterMessage
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasOnchange
setOnchange
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasValueChangeListener
setValueChangeListener
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsDisabled
setDisabled
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasMarkup
setMarkup
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasCurrentMarkup
setCurrentMarkup
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel
setLabel
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabelWithAccessKey
setAccessKey, setLabelWithAccessKey
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTip
setTip
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsReadonly
setReadonly
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRequired
setRequired
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasTabIndex
setTabIndex
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponent
setHeight, setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsGridLayoutComponentBase
setColumnSpan, setCurrentHeight, setCurrentWidth, setDisplay, setHorizontalIndex, setLeft, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth, setRowSpan, setTop, setVerticalIndex
 

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-2013 The Apache Software Foundation. All Rights Reserved.