mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. WCM UI enhancements
- Progress bar indicator on ZIP website import screen - Clickable links for sandbox icons (same as clicking browse action icon) - Size field added to file list for website browsing git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -320,8 +320,6 @@ public class AVMBrowseBean implements IContextListener
|
||||
// build the client representation of the AVM node
|
||||
AVMNode node = new AVMNode(avmRef);
|
||||
|
||||
// add any common properties
|
||||
|
||||
// properties specific to folders or files
|
||||
if (avmRef.isDirectory())
|
||||
{
|
||||
|
@@ -75,6 +75,7 @@ public class AVMNode implements Map<String, Object>
|
||||
|
||||
this.properties.put("id", this.path);
|
||||
this.properties.put("path", this.path);
|
||||
this.properties.put("size", this.avmRef.getLength());
|
||||
this.properties.put("name", this.avmRef.getName());
|
||||
this.properties.put("created", this.avmRef.getCreateDate());
|
||||
this.properties.put("modified", this.avmRef.getModDate());
|
||||
|
@@ -193,7 +193,11 @@ public class UIUserSandboxes extends SelfRenderingComponent
|
||||
|
||||
// components for the current username, preview, browse and modified items inner list
|
||||
out.write("<table cellspacing=2 cellpadding=2 border=0 width=100%><tr><td>");
|
||||
out.write(Utils.buildImageTag(context, WebResources.IMAGE_USERSANDBOX_32, 32, 32, ""));
|
||||
// show the icon for the sandbox as a clickable browse link image
|
||||
Utils.encodeRecursive(context, aquireAction(
|
||||
context, mainStore, username, "sandbox_icon", WebResources.IMAGE_USERSANDBOX_32,
|
||||
"#{AVMBrowseBean.setupSandboxAction}", "browseSandbox"));
|
||||
//out.write(Utils.buildImageTag(context, WebResources.IMAGE_USERSANDBOX_32, 32, 32, ""));
|
||||
out.write("</td><td width=100%>");
|
||||
out.write("<b>");
|
||||
out.write(bundle.getString(MSG_USERNAME));
|
||||
|
Reference in New Issue
Block a user