Author: jleroux
Date: Mon May 11 19:11:37 2009
New Revision: 773659
URL:
http://svn.apache.org/viewvc?rev=773659&view=revLog:
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="<@ofbizUrl>createCustRequestFromShoppingList?shoppingListId=${shoppingList.shoppingListId}</@ofbizUrl>" class="submenutext">${uiLabelMap.OrderCreateCustRequestFromShoppingList}</a>
- <a href="<@ofbizUrl>createQuoteFromShoppingList?shoppingListId=${shoppingList.shoppingListId}</@ofbizUrl>" class="submenutext">${uiLabelMap.OrderCreateQuoteFromShoppingList}</a>
- <a href="javascript:document.updateList.submit();" class="submenutextright">${uiLabelMap.CommonSave}</a>
+ <form name= "createCustRequestFromShoppingList" method= "post" action= "<@ofbizUrl>createCustRequestFromShoppingList</@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="<@ofbizUrl>createQuoteFromShoppingList</@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"> ${uiLabelMap.EcommerceShoppingListDetail} - ${shoppingList.listName}</div>
</div>