org.alfresco.web.bean.ajax
Class FileUploadBean

java.lang.Object
  extended by org.alfresco.web.bean.ajax.FileUploadBean
All Implemented Interfaces:
java.io.Serializable

public class FileUploadBean
extends java.lang.Object
implements java.io.Serializable

Bean managing the ajax servlet upload of a multi-part form containing file content to be added at a specific path in the server.

See Also:
Serialized Form

Constructor Summary
FileUploadBean()
           
 
Method Summary
 void uploadFile()
          Ajax method to upload file content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploadBean

public FileUploadBean()
Method Detail

uploadFile

public void uploadFile()
                throws java.lang.Exception
Ajax method to upload file content. A multi-part form is required as the input. "return-page" = javascript to execute on return from the upload request "currentPath" = the cm:name based server path to upload the content into and the file item content.

Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.