diff --git a/source/java/org/alfresco/web/ui/repo/component/BaseAjaxItemPicker.java b/source/java/org/alfresco/web/ui/repo/component/BaseAjaxItemPicker.java
index 9faa1ae9fc..e50a851df8 100644
--- a/source/java/org/alfresco/web/ui/repo/component/BaseAjaxItemPicker.java
+++ b/source/java/org/alfresco/web/ui/repo/component/BaseAjaxItemPicker.java
@@ -66,6 +66,9 @@ public abstract class BaseAjaxItemPicker extends UIInput
/** True for single select mode, false for multi-select mode */
protected Boolean singleSelect;
+ /** Height style override for picker selector area */
+ protected String height = null;
+
protected static int ACTION_DONE = 0;
protected static int ACTION_CANCEL = 1;
@@ -93,6 +96,7 @@ public abstract class BaseAjaxItemPicker extends UIInput
this.singleSelect = (Boolean)values[2];
this.initialSelectionId = (String)values[3];
this.disabled = (Boolean)values[4];
+ this.height = (String)values[5];
}
/**
@@ -106,7 +110,8 @@ public abstract class BaseAjaxItemPicker extends UIInput
this.label,
this.singleSelect,
this.initialSelectionId,
- this.disabled};
+ this.disabled,
+ this.height};
return (values);
}
@@ -301,8 +306,19 @@ public abstract class BaseAjaxItemPicker extends UIInput
out.write(" ");
// container for item selection
out.write("
");
- out.write("
");
- out.write("
");
+ out.write("
");
+ out.write("
");
out.write("
");
out.write(" ");
// controls (OK & Cancel buttons etc.)
@@ -440,6 +456,28 @@ public abstract class BaseAjaxItemPicker extends UIInput
{
this.singleSelect = singleSelect;
}
+
+ /**
+ * @return Returns the height.
+ */
+ public String getHeight()
+ {
+ ValueBinding vb = getValueBinding("height");
+ if (vb != null)
+ {
+ this.height = (String)vb.getValue(getFacesContext());
+ }
+
+ return this.height;
+ }
+
+ /**
+ * @param height The height to set.
+ */
+ public void setHeight(String height)
+ {
+ this.height = height;
+ }
// ------------------------------------------------------------------------------
diff --git a/source/java/org/alfresco/web/ui/repo/tag/AjaxItemSelectorTag.java b/source/java/org/alfresco/web/ui/repo/tag/AjaxItemSelectorTag.java
index c113491395..8a90be4f4a 100644
--- a/source/java/org/alfresco/web/ui/repo/tag/AjaxItemSelectorTag.java
+++ b/source/java/org/alfresco/web/ui/repo/tag/AjaxItemSelectorTag.java
@@ -53,6 +53,9 @@ public abstract class AjaxItemSelectorTag extends HtmlComponentTag
/** Whether the component is disabled */
private String disabled;
+ /** the height */
+ private String height;
+
/**
* @see javax.faces.webapp.UIComponentTag#getComponentType()
*/
@@ -78,6 +81,7 @@ public abstract class AjaxItemSelectorTag extends HtmlComponentTag
setStringProperty(component, "label", this.label);
setBooleanProperty(component, "singleSelect", this.singleSelect);
setBooleanProperty(component, "disabled", this.disabled);
+ setStringProperty(component, "height", this.height);
}
/**
@@ -92,6 +96,7 @@ public abstract class AjaxItemSelectorTag extends HtmlComponentTag
this.singleSelect = null;
this.initialSelection = null;
this.disabled = null;
+ this.height = null;
}
/**
@@ -144,4 +149,14 @@ public abstract class AjaxItemSelectorTag extends HtmlComponentTag
{
this.disabled = disabled;
}
+
+ /**
+ * Set the height
+ *
+ * @param height the height
+ */
+ public void setHeight(String height)
+ {
+ this.height = height;
+ }
}
diff --git a/source/web/WEB-INF/repo.tld b/source/web/WEB-INF/repo.tld
index 5bcac2c912..763adeb748 100644
--- a/source/web/WEB-INF/repo.tld
+++ b/source/web/WEB-INF/repo.tld
@@ -2268,6 +2268,12 @@
false
true
+
+
+ height
+ false
+ true
+
@@ -2334,6 +2340,12 @@
false
true
+
+
+ height
+ false
+ true
+
@@ -2400,6 +2412,12 @@
false
true
+
+
+ height
+ false
+ true
+
diff --git a/source/web/css/main.css b/source/web/css/main.css
index 8cbfa04b14..0904d08695 100644
--- a/source/web/css/main.css
+++ b/source/web/css/main.css
@@ -416,6 +416,7 @@ a.topToolbarLinkHighlight, a.topToolbarLinkHighlight:link, a.topToolbarLinkHighl
{
padding-right: 20px;
color: #93a8b2;
+ white-space: nowrap;
}
.multiValueSelector
diff --git a/source/web/css/picker.css b/source/web/css/picker.css
index c121824ab9..bb2b314514 100644
--- a/source/web/css/picker.css
+++ b/source/web/css/picker.css
@@ -60,7 +60,7 @@ div.pickerSelector
div.pickerResultsList
{
*width: 300px;
- height: 120px;
+ height: 168px;
overflow: auto;
clear: both;
}
@@ -87,7 +87,7 @@ div.pickerAjaxWait
background-repeat: no-repeat;
background-position: 50% 65%;
width: 292px;
- height: 120px;
+ height: 168px;
overflow: hidden;
display: none;
position: absolute;
diff --git a/source/web/jsp/dialog/advanced-search.jsp b/source/web/jsp/dialog/advanced-search.jsp
index 8a28b1177f..58bcb4b2b7 100644
--- a/source/web/jsp/dialog/advanced-search.jsp
+++ b/source/web/jsp/dialog/advanced-search.jsp
@@ -184,7 +184,7 @@
-
+
|
@@ -203,7 +203,7 @@