cvs commit: spice/sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/showcomponent showComponent.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/showcomponent
showComponent.jsp
Log:
Reworked the component list and component details pages
Revision Changes Path
1.4 +17 -56 spice/sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/showcomponent/showComponent.jsp
Index: showComponent.jsp
===================================================================
RCS file: /cvsroot/spice/spice/sandbox/repository/componenthaus/src/webapp/WEB-INF/jsp/usecases/showcomponent/showComponent.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- showComponent.jsp 25 Sep 2003 18:22:06 -0000 1.3
+++ showComponent.jsp 5 Nov 2003 20:22:03 -0000 1.4
@@ -1,58 +1,19 @@
-<%@ include file="../../includes.jsp" %>
-<style type="text/css">
-<!--
-.style1 {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 10px;
-}
-.style2 {
- font-size: 10px;
- font-weight: bold;
-}
-.style3 {font-size: 10px}
-.style4 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
--->
-</style>
+<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<table width="70%" border="0">
- <tr>
- <td bgcolor="#666666" class="style1"><span class="style2">Name</span></td>
- <td class="style1 style3"><c:out value="${component.name}"/></td>
- <td bgcolor="#666666" class="style1"><span class="style3"><strong>Authors</strong></span></td>
- <td class="style4"><c:out value="${component.authorsCSV}"/></td>
- <td bgcolor="#666666" class="style1"><span class="style3"><strong>Implementations Available</strong></span></td>
- </tr>
- <tr>
- <td bgcolor="#666666" class="style1"><span class="style3"><strong>Full name</strong></span></td>
- <td class="style4"><c:out value="${component.fullyQualifiedName}"/></td>
- <td bgcolor="#666666" class="style1"><span class="style3"><strong>Version</strong></span></td>
- <td class="style4"><c:out value="${component.version}"/></td>
- <td class="style1"><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><span class="style3"><c:out value="${impl.name}"/></br><a href="<c:out value="${showImplementationUrl}"/>">usage</a></span></td>
- <td><span class="style3"><c:out value="${impl.version}"/></span></td>
- </tr>
- </c:forEach>
- </table></td>
- </tr>
- <tr>
- <td bgcolor="#666666" class="style3"><span class="style4"><strong>Dependency Strategy</strong></span></td>
- <td class="style4"><a href="/todo.html">Type 3 IoC</a></td>
- <td bgcolor="#666666" class="style2"><span class="style4"><span class="style3"><strong>Language</strong></span></span></td>
- <td class="style4">Java</td>
- <td class="style1"> </td>
- </tr>
- <tr>
- <td bgcolor="#666666" class="style4"><strong>Interface</strong></td>
- <td colspan="4" class="style4"><span class="style3"><pre><c:out value="${component.serviceInterface}"/></pre></span></td>
- </tr>
+ <tr>
+ <td class="field_name" valign="top"><b>Name</b></td>
+ <td class="description_text"><c:out value="${component.name}"/></td>
+ </tr>
+ <tr>
+ <td class="field_name" valign="top"><b>Version</b></td>
+ <td class="description_text"><c:out value="${component.version}"/></td>
+ </tr>
+ <tr>
+ <td class="field_name" valign="top"><b>Description</b></td>
+ <td class="description_text"><c:out value="${component.fullDescription}"/></td>
+ </tr>
+ <tr>
+ <td class="field_name" valign="top"><b>Interface</b></td>
+ <td class="description_text"><pre><c:out value="${component.serviceInterface}"/></pre></td>
+ </tr>
</table>
-
-<pre>
-Many things to add here, like links to many of the maven reports, javadoc, testsuite, coverage etc.
-Again, there is a link to the implementations of this interface.
-</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/