geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmcma...@apache.org
Subject svn commit: r580472 - in /geronimo/plugins/console/trunk: console-base-portlets/src/main/webapp/WEB-INF/view/car/list.jsp console-jetty/pom.xml console-tomcat/pom.xml
Date Fri, 28 Sep 2007 19:55:23 GMT
Author: pmcmahan
Date: Fri Sep 28 12:55:22 2007
New Revision: 580472

URL: http://svn.apache.org/viewvc?rev=580472&view=rev
Log:
GERONIMO-3330 use links for the plugin items instead of radio buttons.  change the category
for the admin console plugin from Applications to Administration.

Modified:
    geronimo/plugins/console/trunk/console-base-portlets/src/main/webapp/WEB-INF/view/car/list.jsp
    geronimo/plugins/console/trunk/console-jetty/pom.xml
    geronimo/plugins/console/trunk/console-tomcat/pom.xml

Modified: geronimo/plugins/console/trunk/console-base-portlets/src/main/webapp/WEB-INF/view/car/list.jsp
URL: http://svn.apache.org/viewvc/geronimo/plugins/console/trunk/console-base-portlets/src/main/webapp/WEB-INF/view/car/list.jsp?rev=580472&r1=580471&r2=580472&view=diff
==============================================================================
--- geronimo/plugins/console/trunk/console-base-portlets/src/main/webapp/WEB-INF/view/car/list.jsp
(original)
+++ geronimo/plugins/console/trunk/console-base-portlets/src/main/webapp/WEB-INF/view/car/list.jsp
Fri Sep 28 12:55:22 2007
@@ -19,7 +19,7 @@
 <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
 <portlet:defineObjects/>
 
-<h3>Plugins listed at ${repository}</h3>
+<h3>Plugins listed at <a href='${repository}'>${repository}</a></h3>
 
 <c:choose>
 <c:when test="${fn:length(plugins) < 1}">
@@ -31,13 +31,17 @@
 <input type="hidden" name="repo-user" value="${repouser}"/>
 <input type="hidden" name="repo-pass" value="${repopass}"/>
 <input id="mode" type="hidden" name="mode" value="viewForDownload-before"/>
+<!--
 <input id="viewButton" type="submit" value="View" disabled
 onclick="document.getElementById('mode').value='viewForDownload-before'">
 <input id="installButton" type="submit" value="Install" disabled
 onclick="document.getElementById('mode').value='viewForDownload-after'">
+-->
 <table border="0" cellpadding="3">
 <tr>
+<!--
   <th class="DarkBackground">&nbsp;</th>
+-->
   <c:forEach var="column" items="Name,Version,Category,Installable">
   <th class="DarkBackground"><a href='<portlet:actionURL>
   	                                   <portlet:param name="repository" value="${repository}"/>
@@ -52,6 +56,7 @@
 <c:set var="style" value="${status.index % 2 == 0 ? 'MediumBackground' : 'LightBackground'}"/>
 <c:set var="artifact" value="${plugin.pluginArtifact.moduleId}"/>
 <tr>
+<!--
   <td class="${style}">
     <input type="radio" name="configId" 
     <c:choose>
@@ -64,7 +69,16 @@
     </c:choose>
     value='<c:out escapeXml="true" value="${artifact.groupId}/${artifact.artifactId}/${artifact.version}/${artifact.type}"/>'
/>
   </td>
-  <td class="${style}">${plugin.name}</td>
+-->
+  <td class="${style}">
+    <a href='<portlet:actionURL>
+      <portlet:param name="repository" value="${repository}"/>
+      <portlet:param name="repo-user" value="${repouser}"/>
+      <portlet:param name="repo-pass" value="${repopass}"/>
+      <portlet:param name="configId" value="${artifact.groupId}/${artifact.artifactId}/${artifact.version}/${artifact.type}"/>
+      <portlet:param name="mode" value="viewForDownload-before"/>
+    </portlet:actionURL>'>${plugin.name}</a>
+  </td>
   <td class="${style}">${artifact.version}</td>
   <td class="${style}">${plugin.category}</td>
   <td align="center" class="${style}">

Modified: geronimo/plugins/console/trunk/console-jetty/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/console/trunk/console-jetty/pom.xml?rev=580472&r1=580471&r2=580472&view=diff
==============================================================================
--- geronimo/plugins/console/trunk/console-jetty/pom.xml (original)
+++ geronimo/plugins/console/trunk/console-jetty/pom.xml Fri Sep 28 12:55:22 2007
@@ -103,7 +103,7 @@
                         <version>${version}</version>
                         <type>ear</type>
                     </module>
-                    <category>Applications</category>
+                    <category>Administration</category>
                     <osiApproved>true</osiApproved>
                     <geronimoVersions>
                         <value>2.1-SNAPSHOT</value>

Modified: geronimo/plugins/console/trunk/console-tomcat/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/console/trunk/console-tomcat/pom.xml?rev=580472&r1=580471&r2=580472&view=diff
==============================================================================
--- geronimo/plugins/console/trunk/console-tomcat/pom.xml (original)
+++ geronimo/plugins/console/trunk/console-tomcat/pom.xml Fri Sep 28 12:55:22 2007
@@ -95,7 +95,7 @@
                         <version>${version}</version>
                         <type>ear</type>
                     </module>
-                    <category>Applications</category>
+                    <category>Administration</category>
                     <osiApproved>true</osiApproved>
                     <geronimoVersions>
                         <value>2.1-SNAPSHOT</value>



Mime
View raw message