. WCM UI enhancements

- sizing and rendering of select list components
 - Modifier column added to sandbox browse, description column removed
 - Label changes
 - Other minor changes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-01-10 18:23:20 +00:00
parent 8336c9dab1
commit 1119293674
10 changed files with 40 additions and 23 deletions

View File

@@ -199,6 +199,7 @@ public class AVMNode extends Node implements Map<String, Object>
this.properties.put("created", this.avmRef.getCreateDate());
this.properties.put("modified", this.avmRef.getModDate());
this.properties.put("creator", this.avmRef.getCreator());
this.properties.put("modifier", this.avmRef.getLastModifier());
this.propsRetrieved = true;
}

View File

@@ -387,7 +387,7 @@ public class UISelectList extends UIInput implements NamingContainer
// label and description text
String description = item.getDescription();
out.write("<td");
out.write("<td width=100%");
Utils.outputAttribute(out, getAttributes().get("itemStyle"), "style");
Utils.outputAttribute(out, getAttributes().get("itemStyleClass"), "class");
out.write("><div style='padding:2px'>");

View File

@@ -743,7 +743,7 @@ public class UIUserSandboxes extends SelfRenderingComponent
out.write("</td><td>");
String desc = (String)f.getDescription();
out.write(desc != null ? desc : "");
out.write("</td><td>");
out.write("</td><td><nobr>");
// actions
UIActionLink action = findAction(ACT_CREATE_FORM_CONTENT, userStorePrefix);
if (action == null)
@@ -768,7 +768,7 @@ public class UIUserSandboxes extends SelfRenderingComponent
requestMap.put(REQUEST_FORM_REF, f);
Utils.encodeRecursive(fc, action);
requestMap.remove(REQUEST_FORM_REF);
out.write("</td></tr>");
out.write("</nobr></td></tr>");
}
out.write("</table>");