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:
Kevin Roast
2007-05-22 15:41:45 +00:00
parent 582188c7dd
commit 6388d2895a
5 changed files with 86 additions and 29 deletions

View File

@@ -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
*/