Author: jleroux Date: Fri Jul 5 06:58:40 2013 New Revision: 1499920 URL: http://svn.apache.org/r1499920 Log: A patch from Deepak Dixit for "Application Menu items should be link not hidden form." https://issues.apache.org/jira/browse/OFBIZ-4913
Application menu item should be link not hidden form. As if its hidden form then you can not open it in new tab. Default menu item link type auto, and its create an hidden for for link if controller request call an event, but in menu item this should be link. Modified: ofbiz/branches/release12.04/applications/marketing/widget/sfa/SfaMenus.xml ofbiz/branches/release12.04/applications/order/widget/ordermgr/OrderMenus.xml ofbiz/branches/release12.04/framework/webtools/widget/Menus.xml Modified: ofbiz/branches/release12.04/applications/marketing/widget/sfa/SfaMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/marketing/widget/sfa/SfaMenus.xml?rev=1499920&r1=1499919&r2=1499920&view=diff ============================================================================== --- ofbiz/branches/release12.04/applications/marketing/widget/sfa/SfaMenus.xml (original) +++ ofbiz/branches/release12.04/applications/marketing/widget/sfa/SfaMenus.xml Fri Jul 5 06:58:40 2013 @@ -28,7 +28,7 @@ under the License. <menu-item name="Forecast" title="${uiLabelMap.SfaForecasts}"><link target="FindSalesForecast"/></menu-item> <menu-item name="Opportunities" title="${uiLabelMap.SfaOpportunities}"><link target="FindSalesOpportunity"/></menu-item> <menu-item name="Preferences" title="${uiLabelMap.CommonPreferences}" align-style="opposed"> - <link target="ManagePortalPages"> + <link target="ManagePortalPages" link-type="anchor"> <parameter param-name="parentPortalPageId" from-field="parameters.parentPortalPageId"/> </link> </menu-item> Modified: ofbiz/branches/release12.04/applications/order/widget/ordermgr/OrderMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/order/widget/ordermgr/OrderMenus.xml?rev=1499920&r1=1499919&r2=1499920&view=diff ============================================================================== --- ofbiz/branches/release12.04/applications/order/widget/ordermgr/OrderMenus.xml (original) +++ ofbiz/branches/release12.04/applications/order/widget/ordermgr/OrderMenus.xml Fri Jul 5 06:58:40 2013 @@ -60,7 +60,7 @@ under the License. <if-has-permission permission="ORDERMGR" action="_PURCHASE_CREATE"/> </or> </condition> - <link target="orderentry"/> + <link target="orderentry" link-type="anchor"/> </menu-item> <menu-item name="return" title="${uiLabelMap.OrderOrderReturns}"> Modified: ofbiz/branches/release12.04/framework/webtools/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/framework/webtools/widget/Menus.xml?rev=1499920&r1=1499919&r2=1499920&view=diff ============================================================================== --- ofbiz/branches/release12.04/framework/webtools/widget/Menus.xml (original) +++ ofbiz/branches/release12.04/framework/webtools/widget/Menus.xml Fri Jul 5 06:58:40 2013 @@ -59,7 +59,7 @@ under the License. <link target="security"/> </menu-item> <menu-item name="tests" title="Tests"> - <link target="selenium"/> + <link target="selenium" link-type="anchor"/> </menu-item> <menu-item name="LayoutDemo" title="${uiLabelMap.WebtoolsLayoutDemo}"> <link target="WebtoolsLayoutDemo" />