You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by am...@apache.org on 2006/08/01 21:32:40 UTC

svn commit: r427687 - in /geronimo/trunk/applications/console/console-standard/src: java/org/apache/geronimo/console/car/ webapp/WEB-INF/view/car/

Author: ammulder
Date: Tue Aug  1 12:32:40 2006
New Revision: 427687

URL: http://svn.apache.org/viewvc?rev=427687&view=rev
Log:
Merge GERONIMO-2076 to trunk

Added:
    geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/AddRepositoryHandler.java   (props changed)
      - copied unchanged from r427684, geronimo/branches/1.1/applications/console-standard/src/java/org/apache/geronimo/console/car/AddRepositoryHandler.java
    geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/addRepository.jsp   (props changed)
      - copied unchanged from r427684, geronimo/branches/1.1/applications/console-standard/src/webapp/WEB-INF/view/car/addRepository.jsp
Modified:
    geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/BaseImportExportHandler.java
    geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/ImportExportPortlet.java
    geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/index.jsp

Propchange: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/AddRepositoryHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/BaseImportExportHandler.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/BaseImportExportHandler.java?rev=427687&r1=427686&r2=427687&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/BaseImportExportHandler.java (original)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/BaseImportExportHandler.java Tue Aug  1 12:32:40 2006
@@ -27,6 +27,7 @@
     protected static final String CONFIG_LIST_SESSION_KEY = "console.plugins.ConfigurationList";
     protected static final String DOWNLOAD_RESULTS_SESSION_KEY = "console.plugins.DownloadResults";
     protected static final String INDEX_MODE = "index";
+    protected static final String ADD_REPO_MODE = "addRepository";
     protected static final String LIST_MODE = "list";
     protected static final String DOWNLOAD_MODE = "download";
     protected static final String VIEW_FOR_DOWNLOAD_MODE = "viewForDownload";

Modified: geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/ImportExportPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/ImportExportPortlet.java?rev=427687&r1=427686&r2=427687&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/ImportExportPortlet.java (original)
+++ geronimo/trunk/applications/console/console-standard/src/java/org/apache/geronimo/console/car/ImportExportPortlet.java Tue Aug  1 12:32:40 2006
@@ -39,6 +39,7 @@
         addHelper(new ExportHandler(), config);
         addHelper(new DownloadStatusHandler(), config);
         addHelper(new UpdateListHandler(), config);
+        addHelper(new AddRepositoryHandler(), config);
         addHelper(new ViewPluginDownloadHandler(), config);
     }
 

Propchange: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/addRepository.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/index.jsp
URL: http://svn.apache.org/viewvc/geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/index.jsp?rev=427687&r1=427686&r2=427687&view=diff
==============================================================================
--- geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/index.jsp (original)
+++ geronimo/trunk/applications/console/console-standard/src/webapp/WEB-INF/view/car/index.jsp Tue Aug  1 12:32:40 2006
@@ -27,7 +27,8 @@
         </c:forEach>
     </select>
     <c:if test="${!empty repositories}"><br /></c:if>
-    <i>(<a href="<portlet:actionURL portletMode="view"><portlet:param name="mode" value="updateList-before" /><portlet:param name="repository" value="${repository}" /></portlet:actionURL>">Update Repository List</a>)</i>
+    <i>(<a href="<portlet:actionURL portletMode="view"><portlet:param name="mode" value="updateList-before" /><portlet:param name="repository" value="${repository}" /></portlet:actionURL>">Update Repository List</a>
+     or <a href="<portlet:actionURL portletMode="view"><portlet:param name="mode" value="addRepository-before" /><portlet:param name="repository" value="${repository}" /></portlet:actionURL>">Add Repository</a>)</i>
     <%--<input type="text" name="repository" value="${repository}" size="30" maxlength="200" />--%>
     <c:if test="${!empty repositories}">
       <input type="submit" value="Search for Plugins" />