You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/10/12 23:45:30 UTC

svn commit: r824511 - /ofbiz/trunk/applications/product/webapp/catalog/product/EditProductParties.ftl

Author: doogie
Date: Mon Oct 12 21:45:30 2009
New Revision: 824511

URL: http://svn.apache.org/viewvc?rev=824511&view=rev
Log:
Convert removePartyFromProduct <a> to a <form method="post">.

Modified:
    ofbiz/trunk/applications/product/webapp/catalog/product/EditProductParties.ftl

Modified: ofbiz/trunk/applications/product/webapp/catalog/product/EditProductParties.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/product/EditProductParties.ftl?rev=824511&r1=824510&r2=824511&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/catalog/product/EditProductParties.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/catalog/product/EditProductParties.ftl Mon Oct 12 21:45:30 2009
@@ -51,7 +51,13 @@
           </form>
         </td>
         <td align="center">
-          <a href="<@o...@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a>
+          <form action="<@o...@ofbizUrl>" method="post">
+             <input type="hidden" name="partyId" value="${(productRole.partyId)?if_exists}">
+             <input type="hidden" name="productId" value="${(productRole.productId)?if_exists}">
+             <input type="hidden" name="roleTypeId" value="${(productRole.roleTypeId)?if_exists}">
+             <input type="hidden" name="fromDate" value="${productRole.getString("fromDate")}">
+             <input type="submit" value="${uiLabelMap.CommonDelete}">
+          </form>
         </td>
       </tr>
       <#-- toggle the row color -->