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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-05-11 19:11:37 +00:00
parent 15279330a6
commit a08feb0d7f
@@ -64,9 +64,15 @@ under the License.
<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">&nbsp;${uiLabelMap.EcommerceShoppingListDetail} - ${shoppingList.listName}</div>
</div>