Author: mor
Date: Tue Jul 21 16:55:46 2009 New Revision: 796380 URL: http://svn.apache.org/viewvc?rev=796380&view=rev Log: The Orders tab to Product page can also be reached through -Product Jump- drop down under Search Products block. Modified: ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl ofbiz/trunk/applications/product/widget/catalog/Menus.xml ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml Modified: ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl?rev=796380&r1=796379&r2=796380&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl (original) +++ ofbiz/trunk/applications/product/webapp/catalog/find/keywordsearchbox.ftl Tue Jul 21 16:55:46 2009 @@ -63,6 +63,8 @@ </form> <form name="productjumpform" method="post" action="<@ofbizUrl>EditProduct</@ofbizUrl>" style="margin: 0;"> <input type="text" name="productId" size="10" maxlength="20" value="${requestParameters.productId?if_exists}"/> + <input type="hidden" name="viewSize" value="20"/> + <input type="hidden" name="viewIndex" value="1"/> <a href="javascript:call_fieldlookup2(document.productjumpform.productId,'LookupProduct');"><img src='/images/fieldlookup.gif' width='15' height='14' border='0' alt="${uiLabelMap.CommonClickHereForFieldLookup}"/></a> <select name="DUMMYPAGE" onchange="submitProductJump()"> <option value="<@ofbizUrl>EditProduct</@ofbizUrl>">-${uiLabelMap.ProductProductJump}-</option> @@ -90,5 +92,6 @@ <option value="<@ofbizUrl>EditProductSubscriptionResources</@ofbizUrl>">${uiLabelMap.ProductSubscriptionResources}</option> <option value="<@ofbizUrl>QuickAddVariants</@ofbizUrl>">${uiLabelMap.ProductVariants}</option> <option value="<@ofbizUrl>EditProductConfigs</@ofbizUrl>">${uiLabelMap.ProductConfigs}</option> + <option value="<@ofbizUrl>viewProductOrder</@ofbizUrl>">${uiLabelMap.OrderOrders}</option> </select> </form> Modified: ofbiz/trunk/applications/product/widget/catalog/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/Menus.xml?rev=796380&r1=796379&r2=796380&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/Menus.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/Menus.xml Tue Jul 21 16:55:46 2009 @@ -392,7 +392,7 @@ <parameter param-name="productId"/> </link> </menu-item> - <menu-item name="viewProductOrder" title="${uiLabelMap.OrderOrder}"> + <menu-item name="viewProductOrder" title="${uiLabelMap.OrderOrders}"> <link target="viewProductOrder"> <parameter param-name="productId"/> <parameter param-name="viewIndex" value="1"/> Modified: ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml?rev=796380&r1=796379&r2=796380&view=diff ============================================================================== --- ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml (original) +++ ofbiz/trunk/applications/product/widget/catalog/ProductScreens.xml Tue Jul 21 16:55:46 2009 @@ -1847,6 +1847,7 @@ <section> <actions> <set field="titleProperty" value="PageTitleViewProductOrders"/> + <set field="labelTitleProperty" value="OrderOrders"/> <script location="component://order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy"/> </actions> <widgets> |
Free forum by Nabble | Edit this page |