[gatein-commits] gatein SVN: r5063 - portal/branches/branch-GTNPORTAL-1643/web/portal/src/main/webapp/groovy/portal/webui/workspace.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Nov 12 05:24:41 EST 2010


Author: phuong_vu
Date: 2010-11-12 05:24:40 -0500 (Fri, 12 Nov 2010)
New Revision: 5063

Modified:
   portal/branches/branch-GTNPORTAL-1643/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl
Log:
GTNPORTAL-1628 Comment in UIPortalApplication.gtmpl is rendered in HTML response

Modified: portal/branches/branch-GTNPORTAL-1643/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl
===================================================================
--- portal/branches/branch-GTNPORTAL-1643/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl	2010-11-12 09:56:28 UTC (rev 5062)
+++ portal/branches/branch-GTNPORTAL-1643/web/portal/src/main/webapp/groovy/portal/webui/workspace/UIPortalApplication.gtmpl	2010-11-12 10:24:40 UTC (rev 5063)
@@ -47,10 +47,12 @@
       <link id="${portletSkin.id}" rel="stylesheet" type="text/css" href= "$url" />
     <%}%>
      <script type="text/javascript">
+     <%
      // This variable must be used only to initialize other variables otherwise
      // please use eXo.env.portal.context or eXo.env.portal.context instead
      // Those 2 last variables cannot be used to initialize variables because 
      // we cannot be sure that they will be initialized before initializing your script
+     %>
       var currentContext = '<%=docBase%>' ;
     </script>   
     <%if(org.exoplatform.commons.utils.PropertyManager.isDevelopping()) {



More information about the gatein-commits mailing list