svn commit: r474678 - /incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r474678 - /incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

jacopoc
Author: jacopoc
Date: Mon Nov 13 22:52:52 2006
New Revision: 474678

URL: http://svn.apache.org/viewvc?view=rev&rev=474678
Log:
Applied patch from Krzysztof Podejma (OFBIZ-454) to use POST instead of GET methods in facility contact mech forms. GET was causing problems with non ASCII chars.

Modified:
    incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Modified: incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl?view=diff&rev=474678&r1=474677&r2=474678
==============================================================================
--- incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl (original)
+++ incubator/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl Mon Nov 13 22:52:52 2006
@@ -23,7 +23,7 @@
     <#-- When creating a new contact mech, first select the type, then actually create -->
     <#if !preContactMechTypeId?has_content>
     <p class="head1">${uiLabelMap.PartyCreateNewContact}</p>
-    <form method="get" action='<@ofbizUrl>EditContactMech</@ofbizUrl>' name="createcontactmechform">
+    <form method="post" action='<@ofbizUrl>EditContactMech</@ofbizUrl>' name="createcontactmechform">
       <input type='hidden' name='facilityId' value='${facilityId}'>
       <input type='hidden' name='DONE_PAGE' value='${donePage?if_exists}'>
       <table width="90%" border="0" cellpadding="2" cellspacing="0">
@@ -51,7 +51,7 @@
         <div>(${uiLabelMap.PartyMsgContactHavePurpose}<b>"${contactMechPurposeType.get("description",locale)?if_exists}"</b>)</div>
       </#if>
       <table width="90%" border="0" cellpadding="2" cellspacing="0">
-        <form method="get" action='<@ofbizUrl>${mechMap.requestName}</@ofbizUrl>' name="editcontactmechform">
+        <form method="post" action='<@ofbizUrl>${mechMap.requestName}</@ofbizUrl>' name="editcontactmechform">
         <input type='hidden' name='DONE_PAGE' value='${donePage}'>
         <input type='hidden' name='contactMechTypeId' value='${mechMap.contactMechTypeId}'>
         <input type='hidden' name='facilityId' value='${facilityId}'>        
@@ -90,7 +90,7 @@
               </#if>              
           
               <tr>
-                <form method='get' action='<@ofbizUrl>createFacilityContactMechPurpose?DONE_PAGE=${donePage}&useValues=true</@ofbizUrl>' name='newpurposeform'>
+                <form method="post" action='<@ofbizUrl>createFacilityContactMechPurpose?DONE_PAGE=${donePage}&useValues=true</@ofbizUrl>' name='newpurposeform'>
                 <input type="hidden" name='facilityId' value='${facilityId}'>
                 <input type="hidden" name='contactMechId' value='${contactMechId?if_exists}'>
                   <td bgcolor='white'>