mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Moved web script classes and definitions out of web-client project and into remote-api
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -70,7 +70,6 @@ import org.alfresco.web.bean.FileUploadBean;
|
||||
import org.alfresco.web.bean.repository.Node;
|
||||
import org.alfresco.web.bean.repository.Repository;
|
||||
import org.alfresco.web.forms.XMLUtil;
|
||||
import org.alfresco.web.ui.common.Utils;
|
||||
import org.apache.commons.fileupload.FileItem;
|
||||
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
|
||||
import org.apache.commons.fileupload.servlet.ServletFileUpload;
|
||||
@@ -634,7 +633,7 @@ public class FilePickerBean implements Serializable
|
||||
|
||||
this.uploads.add(AVMNodeConverter.ToNodeRef(-1, currentPath + "/"
|
||||
+ filename));
|
||||
returnPage = returnPage.replace("${_FILE_TYPE_IMAGE}", Utils
|
||||
returnPage = returnPage.replace("${_FILE_TYPE_IMAGE}", org.alfresco.repo.web.scripts.FileTypeImageUtils
|
||||
.getFileTypeImage(facesContext, filename, true));
|
||||
} catch (Exception e)
|
||||
{
|
||||
@@ -1042,7 +1041,7 @@ public class FilePickerBean implements Serializable
|
||||
// TODO (Glen): IS this the right image to set?
|
||||
// originally from Ariel's code
|
||||
childNodeElement.setAttribute("image",
|
||||
(node.isDirectory() ? "/images/icons/space_small.gif" : Utils
|
||||
(node.isDirectory() ? "/images/icons/space_small.gif" : org.alfresco.repo.web.scripts.FileTypeImageUtils
|
||||
.getFileTypeImage(facesContext, node.getName(), true)));
|
||||
|
||||
boolean selectable = false;
|
||||
|
Reference in New Issue
Block a user