org.apache.tapestry5.upload.components
Class Upload

java.lang.Object
  extended by org.apache.tapestry5.corelib.base.AbstractField
      extended by org.apache.tapestry5.upload.components.Upload
All Implemented Interfaces:
ClientElement, Field

@Events(value="validate")
public class Upload
extends AbstractField

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 elementName)
           
 
Methods inherited from class org.apache.tapestry5.corelib.base.AbstractField
createDefaultParameterBinding, 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

MULTIPART_ENCTYPE

public static final java.lang.String MULTIPART_ENCTYPE
See Also:
Constant Field Values
Constructor Detail

Upload

public Upload()
Method Detail

processSubmission

protected void processSubmission(java.lang.String elementName)
Specified by:
processSubmission in class AbstractField

beginRender

protected void beginRender(MarkupWriter writer)
Render the upload tags.

Parameters:
writer - Writer to output markup

afterRender

public void afterRender(MarkupWriter writer)

getValue

public UploadedFile getValue()


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.