Fix to issue with style class output in MultiValueEditor Renderer

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7489 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-11-30 15:45:53 +00:00
parent 84d30e9895
commit 0bfd73ea3f
3 changed files with 8 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ public abstract class BaseMultiValueRenderer extends BaseRenderer
UIMultiValueEditor editor = (UIMultiValueEditor)component;
// start outer table
out.write("<table border='0' cellspacing='3' cellpadding='3' class='selector'");
out.write("<table border='0' cellspacing='3' cellpadding='3'");
this.outputAttribute(out, attrs.get("style"), "style");
this.outputAttribute(out, attrs.get("styleClass"), "class");
out.write(">");

View File

@@ -418,6 +418,12 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl
color: #93a8b2;
}
.multiValueSelector
{
border: 1px dashed #cccccc;
padding: 4px;
}
.selector
{
border: 1px dashed #cccccc;

View File

@@ -42,7 +42,7 @@
selectItemMsg="#{msg.select_category}"
selectedItemsMsg="#{msg.selected_categories}"
noSelectedItemsMsg="#{msg.no_selected_categories}"
styleClass="selector">
styleClass="multiValueSelector">
<f:subview id="categorySelector">
<r:ajaxCategorySelector id="catSelector" styleClass="selector"
value="#{DialogManager.bean.addedCategory}"