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, IsFocus, IsGridLayoutComponent, IsGridLayoutComponentBase, IsReadonly, IsRendered, IsRequired
public interface FileTagDeclaration
- extends HasValidator, HasValidatorMessage, HasRequiredMessage, HasConverterMessage, HasOnchange, HasValueChangeListener, HasIdBindingAndRendered, IsDisabled, HasMarkup, HasCurrentMarkup, IsFocus, 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.HasOnchange |
setOnchange |
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.IsFocus |
setFocus |
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasLabel |
setLabel |
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.IsGridLayoutComponentBase |
setColumnSpan, setCurrentHeight, setCurrentWidth, setDisplay, setHorizontalIndex, setLeft, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth, setRowSpan, setTop, setVerticalIndex |
setValue
void setValue(String value)
- Value binding expression pointing to a
org.apache.commons.fileupload.FileItem
property to store the
uploaded file.
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.