|
From: <rv...@us...> - 2009-06-28 10:28:11
|
Revision: 146
http://treebase.svn.sourceforge.net/treebase/?rev=146&view=rev
Author: rvos
Date: 2009-06-28 10:28:10 +0000 (Sun, 28 Jun 2009)
Log Message:
-----------
Now uses foo?format=bar instead of foo.bar
Modified Paths:
--------------
trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/trees.jsp
Modified: trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/trees.jsp
===================================================================
--- trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/trees.jsp 2009-06-28 10:26:49 UTC (rev 145)
+++ trunk/treebase-web/src/main/webapp/WEB-INF/pages/search/study/trees.jsp 2009-06-28 10:28:10 UTC (rev 146)
@@ -54,12 +54,14 @@
<a href="${taxaURL}">View Taxa</a>
</display:column>
+ <c:set var="baseURL" scope="request" value="/phylows/${tree.phyloWSPath}"/>
+
<display:column
sortable="false"
class="iconColumn"
headerClass="iconColumn">
- <c:url value="/PhyloWS/${tree.namespacedGUID}.xml" var="newTreeURL"/>
- <a href="${newTreeURL}">
+ <c:url var="url" value="${baseURL}"><c:param name="format">nexml</c:param></c:url>
+ <a href="${url}">
<img
class="iconButton"
src="<fmt:message key="icons.xml"/>"
@@ -72,8 +74,8 @@
sortable="false"
class="iconColumn"
headerClass="iconColumn">
- <c:url value="/PhyloWS/${tree.namespacedGUID}.rdf" var="newTreeURL"/>
- <a href="${newTreeURL}">
+ <c:url var="url" value="${baseURL}"><c:param name="format">rdf</c:param></c:url>
+ <a href="${url}">
<img
class="iconButton"
src="<fmt:message key="icons.rdf"/>"
@@ -86,8 +88,8 @@
sortable="false"
class="iconColumn"
headerClass="iconColumn">
- <c:url value="/PhyloWS/${tree.namespacedGUID}.nex" var="newTreeURL"/>
- <a href="${newTreeURL}">
+ <c:url var="url" value="${baseURL}"><c:param name="format">nexus</c:param></c:url>
+ <a href="${url}">
<img
class="iconButton"
src="<fmt:message key="icons.download.reconstructed"/>"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|