|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.corelib.base.AbstractField
org.apache.tapestry5.upload.components.Upload
@Events(value="validate") public class Upload
A component to upload a file.
| Field Summary | |
|---|---|
static java.lang.String |
MULTIPART_ENCTYPE
|
| Constructor Summary | |
|---|---|
Upload()
|
|
| Method Summary | |
|---|---|
void |
afterRender(MarkupWriter writer)
|
protected void |
beginRender(MarkupWriter writer)
Render the upload tags. |
UploadedFile |
getValue()
|
protected void |
processSubmission(java.lang.String controlName)
Method implemented by subclasses to actually do the work of processing the submission of the form. |
| Methods inherited from class org.apache.tapestry5.corelib.base.AbstractField |
|---|
decorateInsideField, getClientId, getControlName, getLabel, isDisabled, isRequired, putPropertyNameIntoBeanValidationContext, removePropertyNameFromBeanValidationContext, setDecorator, setFormSupport |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MULTIPART_ENCTYPE
| Constructor Detail |
|---|
public Upload()
| Method Detail |
|---|
protected void processSubmission(java.lang.String controlName)
AbstractFielddisabled.
processSubmission in class AbstractFieldcontrolName - the control name of the rendered element (used to find the correct parameter in the request)protected void beginRender(MarkupWriter writer)
writer - Writer to output markuppublic void afterRender(MarkupWriter writer)
public UploadedFile getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||