Author: mor
Date: Fri Apr 24 08:53:37 2009
New Revision: 768228
URL:
http://svn.apache.org/viewvc?rev=768228&view=revLog:
Applied fix from trunk for revision: 768220
Modified:
ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editcontactmech.ftl
Modified: ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editcontactmech.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editcontactmech.ftl?rev=768228&r1=768227&r2=768228&view=diff==============================================================================
--- ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editcontactmech.ftl (original)
+++ ofbiz/branches/release09.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editcontactmech.ftl Fri Apr 24 08:53:37 2009
@@ -80,12 +80,24 @@
(${uiLabelMap.CommonSince}:${partyContactMechPurpose.fromDate.toString()})
<#if partyContactMechPurpose.thruDate?exists>(${uiLabelMap.CommonExpires}:${partyContactMechPurpose.thruDate.toString()})</#if>
</div></td>
- <td bgcolor='white'><div><a href='<@ofbizUrl>deletePartyContactMechPurpose?contactMechId=${contactMechId}&contactMechPurposeTypeId=${partyContactMechPurpose.contactMechPurposeTypeId}&fromDate=${partyContactMechPurpose.fromDate}&useValues=true</@ofbizUrl>' class='buttontext'> ${uiLabelMap.CommonDelete} </a></div></td>
+ <td bgcolor='white'>
+ <div>
+ <form name= "deletePartyContactMechPurpose_${partyContactMechPurpose.contactMechPurposeTypeId}" method= "post" action= "<@ofbizUrl>deletePartyContactMechPurpose</@ofbizUrl>">
+ <input type= "hidden" name= "contactMechId" value= "${contactMechId}"/>
+ <input type= "hidden" name= "contactMechPurposeTypeId" value= "${partyContactMechPurpose.contactMechPurposeTypeId}"/>
+ <input type= "hidden" name= "fromDate" value= "${partyContactMechPurpose.fromDate}"/>
+ <input type= "hidden" name= "useValues" value= "true"/>
+ <a href='javascript:document.deletePartyContactMechPurpose_${partyContactMechPurpose.contactMechPurposeTypeId}.submit()' class='buttontext'> ${uiLabelMap.CommonDelete} </a>
+ </form>
+ </div>
+ </td>
</tr>
</#list>
<#if purposeTypes?has_content>
<tr>
- <form method="post" action='<@ofbizUrl>createPartyContactMechPurpose?contactMechId=${contactMechId}&useValues=true</@ofbizUrl>' name='newpurposeform'>
+ <form method="post" action='<@ofbizUrl>createPartyContactMechPurpose</@ofbizUrl>' name='newpurposeform'>
+ <input type= "hidden" name= "contactMechId" value= "${contactMechId}"/>
+ <input type= "hidden" name= "useValues" value= "true"/>
<td bgcolor='white'>
<select name='contactMechPurposeTypeId' class='selectBox'>
<option></option>