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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
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"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.