cvs commit: spice/sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/listcomponents listComponents.jsp
Mike Hogan <[email protected]> Wed, 05 Nov 2003 12:22:03 -0800
| Newsgroups | gmane.comp.java.spice.cvs |
|---|---|
| Message-ID | <[email protected]> |
hogie 03/11/05 12:22:03
Modified: sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/listcomponents
listComponents.jsp
Log:
Reworked the component list and component details pages
Revision Changes Path
1.2 +8 -35 spice/sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/listcomponents/listComponents.jsp
Index: listComponents.jsp
===================================================================
RCS file: /cvsroot/spice/spice/sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/listcomponents/listComponents.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- listComponents.jsp 21 Sep 2003 13:41:58 -0000 1.1
+++ listComponents.jsp 5 Nov 2003 20:22:03 -0000 1.2
@@ -1,16 +1,10 @@
-<%@ include file="../../includes.jsp" %>
-<style type="text/css">
-<!--
-.style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
--->
-</style>
+<%@ include file="/WEB-INF/jsp/includes.jsp" %>
-<table width="70%" border="0">
- <tr bgcolor="#666666">
+<table width="70%" border="0" cellspacing="0">
+ <tr>
<th scope="col" class="style3"><div align="left">Name</div></th>
<th scope="col" class="style3"><div align="left">Version</div></th>
<th scope="col" class="style3"><div align="left">Description</div></th>
- <th scope="col" class="style3"><div align="left">Implementations Available</div></th>
</tr>
<c:forEach items="${components}" var="component">
<c:url var="viewDetailsUrl" value="componentDetails.action" >
@@ -20,32 +14,11 @@
<c:param name="id" value="${component.id}" />
</c:url>
<tr>
- <td class="style3"><c:out value="${component.name}"/></br><a href="<c:out value="${viewDetailsUrl}"/>">more</a> <a href="<c:out value="${downloadUrl}"/>">download</a></td>
- <td class="style3"><c:out value="${component.version}"/></td>
- <td class="style3"><c:out value="${component.oneLineDescription}"/></td>
- <td><table width="100%" border="0">
- <c:forEach var="impl" items="${component.implementations}">
- <c:url var="showImplementationUrl" value="showImplementation.action" >
- <c:param name="id" value="${component.id}" />
- <c:param name="implId" value="${impl.id}" />
- </c:url>
- <tr>
- <td class="style3"><c:out value="${impl.name}"/></br><a href="<c:out value="${showImplementationUrl}"/>">usage</a></td>
- <td class="style3"><c:out value="${impl.version}"/></td>
- </tr>
- </c:forEach>
- </table></td>
+ <td class="description_text"><c:out value="${component.name}"/></td>
+ <td class="description_text"><c:out value="${component.version}"/></td>
+ <td class="description_text"><c:out value="${component.oneLineDescription}"/></br>
+ <a href="<c:out value="${viewDetailsUrl}"/>">more</a> <a href="<c:out value="${downloadUrl}"/>">download</a>
+ </td>
</tr>
</c:forEach>
</table>
-
-<pre>
-Few things here:
-
-* Click on "more" to see more info about a particular interface
-* Click on download to download the jar. I can't get the name of the jar right until a bug in Tomcat is fixed.
-* There is a list of available impls of this interface shown on the right. Click on one of the usage links next to one of them.
-* I care nothing about format, as you can see.
-* I do need to make the screens fit into 800 x 600 though.
-* content of this page is up for debate
-</pre>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/