geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r633243 - in /geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main: java/org/apache/geronimo/console/derbylogmanager/DerbyLogViewerPortlet.java webapp/WEB-INF/view/derbylogmanager/view.jsp
Date Mon, 03 Mar 2008 19:21:01 GMT
Author: gawor
Date: Mon Mar  3 11:20:58 2008
New Revision: 633243

URL: http://svn.apache.org/viewvc?rev=633243&view=rev
Log:
pass paramters properly. fixes derby log viewer portlet. (GERONIMO-3891)

Modified:
    geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/derbylogmanager/DerbyLogViewerPortlet.java
    geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/derbylogmanager/view.jsp

Modified: geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/derbylogmanager/DerbyLogViewerPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/derbylogmanager/DerbyLogViewerPortlet.java?rev=633243&r1=633242&r2=633243&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/derbylogmanager/DerbyLogViewerPortlet.java
(original)
+++ geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/derbylogmanager/DerbyLogViewerPortlet.java
Mon Mar  3 11:20:58 2008
@@ -21,6 +21,8 @@
 import org.apache.geronimo.console.util.PortletManager;
 import org.apache.geronimo.derby.DerbyLog;
 
+import javax.portlet.ActionRequest;
+import javax.portlet.ActionResponse;
 import javax.portlet.PortletConfig;
 import javax.portlet.PortletContext;
 import javax.portlet.PortletException;
@@ -90,6 +92,12 @@
         normalView.include(renderRequest, renderResponse);
     }
 
+    @Override
+    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
throws PortletException, IOException {        
+        //Add all the parameters to the actionResponse Attributes so we can get the back
+        actionResponse.setRenderParameters(actionRequest.getParameterMap());    
+    }
+    
     private static class Criteria implements Serializable {
         Integer max = 10;
         Integer start;

Modified: geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/derbylogmanager/view.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/derbylogmanager/view.jsp?rev=633243&r1=633242&r2=633243&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/derbylogmanager/view.jsp
(original)
+++ geronimo/server/branches/2.1/plugins/system-database/sysdb-portlets/src/main/webapp/WEB-INF/view/derbylogmanager/view.jsp
Mon Mar  3 11:20:58 2008
@@ -29,7 +29,7 @@
     </tr>
     <tr>
         <td class="Smaller" valign="middle">
-            <form action="<portlet:renderURL/>" name="<portlet:namespace/>searchForm"
>
+            <form action="<portlet:actionURL/>" name="<portlet:namespace/>searchForm"
>
                 <b><fmt:message key="derbylogmanager.view.filterResults"/>:</b>
                 <input type="hidden" value="search" name="action"/>
                 <br/>



Mime
View raw message