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, setName
addAsset, 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValidators
getClientId, getDisplayName, getForm, getName, isDisabled, setName
addAsset, 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, setProperty
public 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()
AbstractFormComponent
isRequired
in interface IFormComponent
isRequired
in class AbstractFormComponent
AbstractFormComponent.isRequired()