Author: ashish
Date: Mon Dec 26 11:21:10 2011
New Revision: 1224713

URL: http://svn.apache.org/viewvc?rev=1224713&view=rev
Log:
Applied bug fix from trunk revision - 1224712.
Applied bug fix from jira issue - OFBIZ-4632.
Secure Url could not be call for service deleteKeywordThesaurus. 
Description - On the editKeywordThesaurus screen when we create a Keyword 
Thesaurus then try to delete it problem occurs. Replace the direct anchors to 
forms will fix this problem.
Thanks Rishi !!!

Modified:
    
ofbiz/branches/release11.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl

Modified: 
ofbiz/branches/release11.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl?rev=1224713&r1=1224712&r2=1224713&view=diff
==============================================================================
--- 
ofbiz/branches/release11.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl
 (original)
+++ 
ofbiz/branches/release11.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl
 Mon Dec 26 11:21:10 2011
@@ -57,7 +57,11 @@ under the License.
                     <form method="post" 
action="<@ofbizUrl>createKeywordThesaurus</@ofbizUrl>">
                       <div>
                         ${keyword.enteredKeyword}
-                        <a 
href="<@ofbizUrl>deleteKeywordThesaurus?enteredKeyword=${keyword.enteredKeyword}</@ofbizUrl>"
 class="buttontext">${uiLabelMap.CommonDeleteAll}</a>
+                        <form method="post" 
action="<@ofbizUrl>deleteKeywordThesaurus</@ofbizUrl>" 
name="deleteKeywordThesaurus">
+                          <input type="hidden" name="enteredKeyword" 
value="${keyword.enteredKeyword}" />
+                          <input type="hidden" name="alternateKeyword" 
value="${keyword.alternateKeyword}" />
+                          <input type="submit" 
value="${uiLabelMap.CommonDeleteAll}" />
+                        </form>
                       </div>
                       <div>
                         <input type="hidden" name="enteredKeyword" 
value="${keyword.enteredKeyword}" />
@@ -70,7 +74,11 @@ under the License.
                   <td>
               </#if>
               <div>
-                <a 
href="<@ofbizUrl>deleteKeywordThesaurus?enteredKeyword=${keyword.enteredKeyword}&amp;alternateKeyword=${keyword.alternateKeyword}</@ofbizUrl>"
 class="buttontext">X</a>
+                <form method="post" 
action="<@ofbizUrl>deleteKeywordThesaurus</@ofbizUrl>" 
name="deleteKeywordThesaurus">
+                  <input type="hidden" name="enteredKeyword" 
value="${keyword.enteredKeyword}" />
+                  <input type="hidden" name="alternateKeyword" 
value="${keyword.alternateKeyword}" />
+                  <input type="submit" value="X" />
+                </form>
                 
${keyword.alternateKeyword}&nbsp;(${uiLabelMap.ProductRelationship}:${(relationship.get("description",locale))?default(keyword.relationshipEnumId?if_exists)})
               </div>
               <#-- toggle the row color -->


Reply via email to