svn commit: r747163 - /lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rfrovarp
Date: Mon Feb 23 22:16:23 2009
New Revision: 747163

URL: http://svn.apache.org/viewvc?rev=747163&view=rev
Log:
Fixes loading of images through proxied configurations

Modified:
    lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx

Modified: lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx?rev=747163&r1=747162&r2=747163&view=diff
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx (original)
+++ lenya/branches/BRANCH_2_0_X/src/modules/editors/usecases/insertLink.jx Mon Feb 23 22:16:23 2009
@@ -42,7 +42,7 @@
       PUBLICATION_ID = "${doc.getPublication().getId()}";
       CHOSEN_LANGUAGE = "${doc.getLanguage()}";
       DEFAULT_LANGUAGE = "${doc.getPublication().getDefaultLanguage()}";
-      IMAGE_PATH = "/lenya/images/tree/";
+      IMAGE_PATH = '<proxy:url href="/lenya/images/tree/"/>';
       CUT_DOCUMENT_ID = '';
       ALL_AREAS = "authoring";
       PIPELINE_PATH = 'modules/sitetree/sitetree-fragment.xml';
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.