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 2007/06/13 14:58:10 UTC
svn commit: r546852 -
/lenya/trunk/src/modules-core/sitemanagement/usecases/tab/assets.jx
Author: andreas
Date: Wed Jun 13 05:58:10 2007
New Revision: 546852
URL: http://svn.apache.org/viewvc?view=rev&rev=546852
Log:
Don't add context path to image URLs, will be handled by proxy transformer
Modified:
lenya/trunk/src/modules-core/sitemanagement/usecases/tab/assets.jx
Modified: lenya/trunk/src/modules-core/sitemanagement/usecases/tab/assets.jx
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/sitemanagement/usecases/tab/assets.jx?view=diff&rev=546852&r1=546851&r2=546852
==============================================================================
--- lenya/trunk/src/modules-core/sitemanagement/usecases/tab/assets.jx (original)
+++ lenya/trunk/src/modules-core/sitemanagement/usecases/tab/assets.jx Wed Jun 13 05:58:10 2007
@@ -48,7 +48,7 @@
<tr>
<jx:set var="title" value="${doc.getMetaData('http://purl.org/dc/elements/1.1/').getFirstValue('title')}"/>
<td>
- <a href="${request.getContextPath()}${doc.getCanonicalWebappURL()}"><jx:out value="${title}"/></a>
+ <a href="${doc.getCanonicalWebappURL()}"><jx:out value="${title}"/></a>
</td>
<td>
<jx:set var="mimeType" value="${doc.getMimeType()}"/>
@@ -56,7 +56,7 @@
<jx:set var="extension" value="${doc.getSourceExtension()}"/>
<jx:set var="url" value="${doc.getCanonicalWebappURL()}"/>
<jx:set var="imageUrl" value="${url.replaceFirst('\.html', '\.' + extension)}"/>
- <img src="${request.getContextPath()}${imageUrl}"
+ <img src="${imageUrl}"
style="height: 32px; vertical-align: middle;"/> 
</jx:if>
</td>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org