You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2006/11/14 07:52:53 UTC

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

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='<@o...@ofbizUrl>' name="createcontactmechform">
+    <form method="post" action='<@o...@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='<@o...@ofbizUrl>' name="editcontactmechform">
+        <form method="post" action='<@o...@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='<@o...@ofbizUrl>' name='newpurposeform'>
+                <form method="post" action='<@o...@ofbizUrl>' name='newpurposeform'>
                 <input type="hidden" name='facilityId' value='${facilityId}'>
                 <input type="hidden" name='contactMechId' value='${contactMechId?if_exists}'>
                   <td bgcolor='white'>