lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject svn commit: r178119 - /lenya/trunk/src/webapp/lenya/usecases/tab/head.jx
Date Tue, 24 May 2005 06:47:36 GMT
Author: andreas
Date: Mon May 23 23:47:36 2005
New Revision: 178119

URL: http://svn.apache.org/viewcvs?rev=178119&view=rev
Log:
fixed sitetree JS links in site area page head

Modified:
    lenya/trunk/src/webapp/lenya/usecases/tab/head.jx

Modified: lenya/trunk/src/webapp/lenya/usecases/tab/head.jx
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecases/tab/head.jx?rev=178119&r1=178118&r2=178119&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/tab/head.jx (original)
+++ lenya/trunk/src/webapp/lenya/usecases/tab/head.jx Mon May 23 23:47:36 2005
@@ -25,8 +25,12 @@
   name="">
   
   <page:head>
-    <script src="${request.contextPath}/${usecase.getParameter('document').getPublication().getId()}/${usecase.getParameter('private.completeArea')}/info-sitetree/ua.js"/>
-    <script src="${request.contextPath}/${usecase.getParameter('document').getPublication().getId()}/${usecase.getParameter('private.completeArea')}/info-sitetree/tree.js"/>
-    <script src="${request.contextPath}/${usecase.getParameter('document').getPublication().getId()}/${usecase.getParameter('private.completeArea')}/info-sitetree/sitetree.js?language={$chosenlanguage}&amp;incremental={$incremental-loading}"/>
+    <jx:set var="pubId" value="${usecase.getParameter('document').getPublication().getId()}"/>
+    <jx:set var="area" value="${usecase.getParameter('private.completeArea')}"/>
+    <jx:set var="language" value="${usecase.getParameter('document').getLanguage()}"/>
+    <jx:set var="incrementalLoading" value="${'false'}"/>
+    <script src="${request.contextPath}/${pubId}/${area}/info-sitetree/ua.js"/>
+    <script src="${request.contextPath}/${pubId}/${area}/info-sitetree/tree.js"/>
+    <script src="${request.contextPath}/${pubId}/${area}/info-sitetree/sitetree.js?language=${language}&amp;incremental=${incrementalLoading}"/>
   </page:head>
 </jx:template>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message