mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- finishing off ui changes to file upload widget based on linton's updated mockups.
- fixing various upload related bugs (resize issue, not handling file exists exception, not attaching uploaded files to workflow, loosing some of the uploaded files, and probably some more). - reusing upload_helper.js code from xforms.js. added facility for having the javascript return page return an error and file type image to support xform - doesn't effect other usages (create form). git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -350,6 +350,12 @@ public class CreateWebContentWizard extends BaseContentWizard
|
||||
{
|
||||
srcPaths.add(AVMConstants.getCorrespondingPath(rendition.getPath(), sandboxName));
|
||||
}
|
||||
for (NodeRef uploadedFile : uploadedFiles)
|
||||
{
|
||||
final String uploadPath = AVMNodeConverter.ToAVMVersionPath(uploadedFile).getSecond();
|
||||
srcPaths.add(AVMConstants.getCorrespondingPath(uploadPath, sandboxName));
|
||||
}
|
||||
|
||||
srcPaths.add(AVMConstants.getCorrespondingPath(this.formInstanceData.getPath(), sandboxName));
|
||||
}
|
||||
else
|
||||
@@ -358,6 +364,7 @@ public class CreateWebContentWizard extends BaseContentWizard
|
||||
srcPaths.add(AVMConstants.getCorrespondingPath(this.createdPath, sandboxName));
|
||||
}
|
||||
|
||||
LOGGER.debug("creating workflow package with " + srcPaths.size() + " files");
|
||||
final NodeRef packageNodeRef =
|
||||
AVMWorkflowUtil.createWorkflowPackage(srcPaths,
|
||||
storeId,
|
||||
|
Reference in New Issue
Block a user