You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/05/11 21:11:37 UTC

svn commit: r773659 - /ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl

Author: jleroux
Date: Mon May 11 19:11:37 2009
New Revision: 773659

URL: http://svn.apache.org/viewvc?rev=773659&view=rev
Log:
This fix 2 issues related to non secured URLs with 
a modified patch from Chandan Khandelwal "Create Request from shopping list in eCommerce" (https://issues.apache.org/jira/browse/OFBIZ-2423) - OFBIZ-2423
a modified patch from Rohit Jain "Create Quote from shopping list in eCommerce" (https://issues.apache.org/jira/browse/OFBIZ-2424) - OFBIZ-2424

But, in spite of my (small) efforts, it has also introduced a small UI issue. Now the related links are not well shown. I have opened https://issues.apache.org/jira/browse/OFBIZ-2460 for that. I committed because I think it's better to have something which works even if the UI is not good.

Modified:
    ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?rev=773659&r1=773658&r2=773659&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl Mon May 11 19:11:37 2009
@@ -64,9 +64,15 @@
 <div class="screenlet">
     <div class="screenlet-header">
         <div class="boxlink">
-            <a href="<@o...@ofbizUrl>" class="submenutext">${uiLabelMap.OrderCreateCustRequestFromShoppingList}</a>
-            <a href="<@o...@ofbizUrl>" class="submenutext">${uiLabelMap.OrderCreateQuoteFromShoppingList}</a>
-            <a href="javascript:document.updateList.submit();" class="submenutextright">${uiLabelMap.CommonSave}</a>
+          <form name= "createCustRequestFromShoppingList" method= "post" action= "<@o...@ofbizUrl>">
+            <input type= "hidden" name= "shoppingListId" value= "${shoppingList.shoppingListId}"/>
+            <a href='javascript:document.createCustRequestFromShoppingList.submit()'><div class='submenutext'>${uiLabelMap.OrderCreateCustRequestFromShoppingList}</div></a>
+          </form>
+          <form name="createQuoteFromShoppingList" method="post" action="<@o...@ofbizUrl>">
+            <input type="hidden" name="shoppingListId" value="${shoppingList.shoppingListId}"/>
+            <a href='javascript:document.createQuoteFromShoppingList.submit()'><div class='submenutext'>${uiLabelMap.OrderCreateQuoteFromShoppingList}</div></a>
+          </form>
+          <a href="javascript:document.updateList.submit();" class="submenutextright">${uiLabelMap.CommonSave}</a>
         </div>
         <div class="boxhead">&nbsp;${uiLabelMap.EcommerceShoppingListDetail} - ${shoppingList.listName}</div>
     </div>