You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jb...@apache.org on 2009/01/30 17:53:42 UTC

svn commit: r739332 - in /geronimo/server/trunk/plugins/console: console-base-portlets/src/main/webapp/WEB-INF/view/repository/normal.jsp plugin-portlets/src/main/webapp/WEB-INF/view/configmanager/deploy.jsp

Author: jbohn
Date: Fri Jan 30 16:53:42 2009
New Revision: 739332

URL: http://svn.apache.org/viewvc?rev=739332&view=rev
Log:
cleanup the way portlet action parameters are passed

Modified:
    geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/repository/normal.jsp
    geronimo/server/trunk/plugins/console/plugin-portlets/src/main/webapp/WEB-INF/view/configmanager/deploy.jsp

Modified: geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/repository/normal.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/repository/normal.jsp?rev=739332&r1=739331&r2=739332&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/repository/normal.jsp (original)
+++ geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/view/repository/normal.jsp Fri Jan 30 16:53:42 2009
@@ -107,7 +107,8 @@
 <table width="100%">
 <tr>
   <td align="center">
-  <form onsubmit="return <portlet:namespace/>validateForm();" enctype="multipart/form-data" name="<portlet:namespace/>fileSelect" method="POST" action="<portlet:actionURL><portlet:param name="action" value="deploy"/></portlet:actionURL>">
+  <form onsubmit="return <portlet:namespace/>validateForm();" enctype="multipart/form-data" name="<portlet:namespace/>fileSelect" method="POST" action="<portlet:actionURL/>">
+  <input type="hidden" value="deploy" name="action"/>
   <table>
     <tr>
       <th colspan="2"><fmt:message key="repository.normal.addArchiveToRepository"/></th>

Modified: geronimo/server/trunk/plugins/console/plugin-portlets/src/main/webapp/WEB-INF/view/configmanager/deploy.jsp
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/plugin-portlets/src/main/webapp/WEB-INF/view/configmanager/deploy.jsp?rev=739332&r1=739331&r2=739332&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/plugin-portlets/src/main/webapp/WEB-INF/view/configmanager/deploy.jsp (original)
+++ geronimo/server/trunk/plugins/console/plugin-portlets/src/main/webapp/WEB-INF/view/configmanager/deploy.jsp Fri Jan 30 16:53:42 2009
@@ -62,7 +62,8 @@
 <br/><hr/><br/>
 </c:if>
 
-<form enctype="multipart/form-data" method="POST" action="<portlet:actionURL><portlet:param name="action" value="deploy"/></portlet:actionURL>">
+<form enctype="multipart/form-data" method="POST" action="<portlet:actionURL/>">
+<input type="hidden" value="deploy" name="action"/>
 <table>
   <tr><th align="right"><label for="<portlet:namespace/>module"><fmt:message key="configmanager.common.archive" /></label>: </th><td><input type="file" name="module" id="<portlet:namespace/>module" /></td></tr>
   <tr><th align="right"><label for="<portlet:namespace/>plan"><fmt:message key="configmanager.common.plan" /></label>: </th><td><input type="file" name="plan" id="<portlet:namespace/>plan" /></td></tr>