[jboss-cvs] jboss-seam/examples/wiki/view/includes ...
Christian Bauer
christian at hibernate.org
Mon Jan 14 00:10:46 EST 2008
User: cbauer
Date: 08/01/14 00:10:46
Modified: examples/wiki/view/includes wikiUploadImageEditor.xhtml
Log:
JBSEAM-2457 - Render "REST" feed/file download URLs, breaks all current feed/file bookmarks
Revision Changes Path
1.3 +1 -1 jboss-seam/examples/wiki/view/includes/wikiUploadImageEditor.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: wikiUploadImageEditor.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/wikiUploadImageEditor.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- wikiUploadImageEditor.xhtml 30 Dec 2007 02:33:20 -0000 1.2
+++ wikiUploadImageEditor.xhtml 14 Jan 2008 05:10:46 -0000 1.3
@@ -36,7 +36,7 @@
</a:commandLink>
</a:region>
</h:panelGroup>
- <h:outputLink value="#{facesContext.externalContext.requestContextPath}/servlets/files/download.seam?fileId=#{editor.instance.id}">
+ <h:outputLink value="#{wiki:renderURL(editor.instance)}">
<s:graphicImage value="#{editor.instance.data}" style="border: 1px solid black;">
<s:transformImageSize width="#{editor.imagePreviewSize}" maintainRatio="true"/>
</s:graphicImage>
More information about the jboss-cvs-commits
mailing list