mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
WebScript servlet now correctly sets no-cache headers on the reponse. Improvements to MySpaces portlet.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -62,6 +62,9 @@ import org.w3c.dom.Element;
|
||||
import org.w3c.dom.Node;
|
||||
|
||||
/**
|
||||
* Bean managing the ajax servlet upload of a multi-part form containing file content
|
||||
* to be added at a specific path in the server.
|
||||
*
|
||||
* @author Kevin Roast
|
||||
*/
|
||||
public class FileUploadBean
|
||||
@@ -69,11 +72,11 @@ public class FileUploadBean
|
||||
private static Log logger = LogFactory.getLog(FileUploadBean.class);
|
||||
|
||||
/**
|
||||
* Ajax method to upload a file. A multi-part form is required as the input.
|
||||
* Ajax method to upload file content. A multi-part form is required as the input.
|
||||
*
|
||||
* "return-page" =
|
||||
* "currentPath" =
|
||||
* and the file item itself
|
||||
* "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 Exception
|
||||
*/
|
||||
|
Reference in New Issue
Block a user