[gatein-commits] gatein SVN: r5126 - exo/portal/branches/3.1.x/component/dashboard/src/main/resources/groovy/dashboard/webui/component.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Nov 16 23:38:06 EST 2010


Author: kien_nguyen
Date: 2010-11-16 23:38:06 -0500 (Tue, 16 Nov 2010)
New Revision: 5126

Modified:
   exo/portal/branches/3.1.x/component/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl
Log:
EXOGTN-41 When list gadget too long, can not view textbox to input URL of Gadget

Modified: exo/portal/branches/3.1.x/component/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl
===================================================================
--- exo/portal/branches/3.1.x/component/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl	2010-11-17 04:34:33 UTC (rev 5125)
+++ exo/portal/branches/3.1.x/component/dashboard/src/main/resources/groovy/dashboard/webui/component/UIDashboardSelectContainer.gtmpl	2010-11-17 04:38:06 UTC (rev 5126)
@@ -36,6 +36,9 @@
 									<%
 									List lstGadgets = uicomponent.getGadgetsOfCategory(category);
 										if(lstGadgets != null){
+											if(lstGadgets.size() >= 20)
+												uiPopup.setWindowSize(-1, 600);
+												
 											for(gadget in lstGadgets){
 									%>
 													 	<div class="UIGadget SelectItem Item" id="${gadget.getId()}" style="top:0px; left:0px;">



More information about the gatein-commits mailing list