svn commit: r1224714 - /ofbiz/branches/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl

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

svn commit: r1224714 - /ofbiz/branches/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl

ashish-18
Author: ashish
Date: Mon Dec 26 11:22:17 2011
New Revision: 1224714

URL: http://svn.apache.org/viewvc?rev=1224714&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/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl

Modified: ofbiz/branches/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl?rev=1224714&r1=1224713&r2=1224714&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl (original)
+++ ofbiz/branches/release10.04/applications/product/webapp/catalog/thesaurus/EditKeywordThesaurus.ftl Mon Dec 26 11:22:17 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 -->