You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/03/26 20:36:02 UTC

svn commit: r641507 - /lenya/trunk/src/modules-core/sitemanagement/usecases/tab/head.jx

Author: andreas
Date: Wed Mar 26 12:36:01 2008
New Revision: 641507

URL: http://svn.apache.org/viewvc?rev=641507&view=rev
Log:
Use proxy-based URL for AJAX calls.

Modified:
    lenya/trunk/src/modules-core/sitemanagement/usecases/tab/head.jx

Modified: lenya/trunk/src/modules-core/sitemanagement/usecases/tab/head.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/sitemanagement/usecases/tab/head.jx?rev=641507&r1=641506&r2=641507&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/sitemanagement/usecases/tab/head.jx (original)
+++ lenya/trunk/src/modules-core/sitemanagement/usecases/tab/head.jx Wed Mar 26 12:36:01 2008
@@ -22,6 +22,7 @@
   xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"
   xmlns:page="http://apache.org/cocoon/lenya/cms-page/1.0" 
   xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+  xmlns:proxy="http://apache.org/lenya/proxy/1.0"
   xmlns="http://www.w3.org/1999/xhtml"
   name="">
   
@@ -35,7 +36,7 @@
     <script src="/modules/sitemanagement/javascript/lenyaTabs.js"/>
     <script type="text/javascript">
       djConfig = { isDebug: false, bindEncoding: "UTF-8" };
-      URL = "${usecase.getParameter('private.sourceUrl')}";
+      URL = "<proxy:url href="${usecase.getParameter('private.sourceUrl')}"/>";
     </script>
     <script type="text/javascript" src="/modules/menubar/dojo/dojo.js">&#160;</script>
     <script src="/modules/sitemanagement/javascript/metadata.js"/>



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