Author: doogie
Date: Mon Oct 12 21:45:30 2009
New Revision: 824511
URL:
http://svn.apache.org/viewvc?rev=824511&view=revLog:
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="<@ofbizUrl>removePartyFromProduct?productId=${(productRole.productId)?if_exists}&partyId=${(productRole.partyId)?if_exists}&roleTypeId=${(productRole.roleTypeId)?if_exists}&fromDate=${productRole.getString("fromDate")}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonDelete}</a>
+ <form action="<@ofbizUrl>removePartyFromProduct</@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 -->