public abstract class Upload extends AbstractFormComponent implements ValidatableField
As of 4.0, this component can be validated.
| Constructor and Description |
|---|
Upload() |
| Modifier and Type | Method and Description |
|---|---|
abstract MultipartDecoder |
getDecoder()
Injected.
|
abstract ValidatableFieldSupport |
getValidatableFieldSupport()
Injected.
|
boolean |
isRequired()
Returns false.
|
protected void |
renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
abstract void |
setFile(IUploadFile file) |
getAlwaysRenderBodyOnRewind, getCanTakeFocus, getForm, getIdParameter, getName, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, renderIdAttribute, setClientId, setForm, setName, setNameaddAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValidatorsgetClientId, getDisplayName, getForm, getName, isDisabled, setNameaddAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setPropertypublic Upload()
public abstract void setFile(IUploadFile file)
protected void renderFormComponent(IMarkupWriter writer, IRequestCycle cycle)
protected void rewindFormComponent(IMarkupWriter writer, IRequestCycle cycle)
public abstract ValidatableFieldSupport getValidatableFieldSupport()
public abstract MultipartDecoder getDecoder()
public boolean isRequired()
AbstractFormComponentisRequired in interface IFormComponentisRequired in class AbstractFormComponentAbstractFormComponent.isRequired()