wicket.markup.html.form.upload
Class UploadForm
java.lang.Object
wicket.Component
wicket.MarkupContainer
wicket.markup.html.WebMarkupContainer
wicket.markup.html.form.Form
wicket.markup.html.form.upload.UploadForm
- All Implemented Interfaces:
- IFeedbackBoundary, IFormSubmitListener, IRequestListener, java.io.Serializable
- public abstract class UploadForm
- extends Form
Form for handling (file) uploads with multipart requests. Use this with
FileUploadFieldcomponents. You can
attach mutliple FileInput fields for muliple file uploads.
This class depends on package
Commons FileUpload, version 1.0.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
- Serialized Form
| Methods inherited from class wicket.MarkupContainer |
add, autoAdd, contains, findMarkupStream, get, getMarkupStream, internalAdd, internalBeginRequest, internalEndRequest, iterator, onComponentTagBody, remove, removeAll, renderAssociatedMarkup, renderComponentTagBody, replace, setMarkupStream, setModel, size, toString, toString, visitChildren, visitChildren |
| Methods inherited from class wicket.Component |
add, addStateChange, checkComponentTag, checkComponentTagAttribute, debug, detachModel, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getApplicationPages, getApplicationSettings, getClassRelativePath, getConverter, getEscapeModelStrings, getFeedbackMessage, getFlag, getId, getLocale, getLocalizer, getModel, getModelObject, getModelObjectAsString, getPage, getPageFactory, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResource, getResponse, getSession, getString, getString, getString, getStyle, hasErrorMessage, hasFeedbackMessage, info, initModel, internalOnBeginRequest, internalOnEndRequest, internalOnModelChanging, isAncestorOf, isVersioned, isVisible, isVisibleInHierarchy, modelChanged, modelChanging, newPage, newPage, onBeginRequest, onEndRequest, onModelChanged, onModelChanging, onSessionAttach, redirectTo, remove, render, renderComponent, renderComponentTag, rendered, replaceComponentTagBody, sameRootModel, sameRootModel, setFlag, setModelObject, setRedirect, setRenderBodyOnly, setResponsePage, setShouldEscapeModelStrings, setVisible, urlFor, visitParents, warn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UploadForm
public UploadForm(java.lang.String id)
- See Also:
Component.Component(String)
UploadForm
public UploadForm(java.lang.String id,
IFeedback validationFeedback)
- See Also:
Form.Form(String, IFeedback)
UploadForm
public UploadForm(java.lang.String id,
IModel model,
IFeedback feedback)
- See Also:
Form.Form(String, IModel, IFeedback)
onFormSubmitted
public void onFormSubmitted()
- Wraps the servlet request in a multipart request and sets it as the
current request.
- Specified by:
onFormSubmitted in interface IFormSubmitListener- Overrides:
onFormSubmitted in class Form
- See Also:
Form.onFormSubmitted()
setMaxSize
public void setMaxSize(Bytes maxSize)
- Parameters:
maxSize - The maxSize to set.
onComponentTag
protected final void onComponentTag(ComponentTag tag)
- Description copied from class:
Component
- Processes the component tag.
- Overrides:
onComponentTag in class Form
- See Also:
Component.onComponentTag(ComponentTag)
onSubmit
protected abstract void onSubmit()
- Description copied from class:
Form
- Implemented by subclasses to deal with form submits.
- Overrides:
onSubmit in class Form
- See Also:
Form.onSubmit()
Copyright © 2004-2005 Wicket developers. All Rights Reserved.