[gatein-commits] gatein SVN: r5089 - exo/portal/branches/3.1.x/web/portal/src/main/webapp/groovy/webui/core.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Nov 15 06:19:09 EST 2010


Author: ndkhoiits
Date: 2010-11-15 06:19:09 -0500 (Mon, 15 Nov 2010)
New Revision: 5089

Modified:
   exo/portal/branches/3.1.x/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl
Log:
EXOGTN-125 Allow set show or hide the close button on UIPopupWindow

Modified: exo/portal/branches/3.1.x/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl
===================================================================
--- exo/portal/branches/3.1.x/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl	2010-11-15 10:02:57 UTC (rev 5088)
+++ exo/portal/branches/3.1.x/web/portal/src/main/webapp/groovy/webui/core/UIPopupWindow.gtmpl	2010-11-15 11:19:09 UTC (rev 5089)
@@ -39,7 +39,7 @@
 				<div class="TopCenterDecorator">
 					<div class="OverflowContainer">
 						<div class="PopupTitleIcon"><span></span></div>
-						<%if( true) {%>
+						<%if( showCloseButton ) {%>
 							<!-- <div class="CloseButton" title="Close Window" onclick="<%=uicomponent.event("ClosePopup")%>"><span></span></div> -->
 							<div class="CloseButton" title="<%=_ctx.appRes("UIPopupWindow.Close")%>" onclick="<%=uicomponent.event(uicomponent.getCloseEvent())%>"><span></span></div>
 						<% } else { %>



More information about the gatein-commits mailing list