This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push: new 6e9c7a7ad Improved: EBAY - - Move from hard-coded menu location to parameterized (OFBIZ-12959) (#98) 6e9c7a7ad is described below commit 6e9c7a7ad3a4a031c726f64509d085fa452b8954 Author: Pierre Smits <pierre.sm...@somonar.com> AuthorDate: Wed Mar 27 19:22:07 2024 +0100 Improved: EBAY - - Move from hard-coded menu location to parameterized (OFBIZ-12959) (#98) Move the menu location in the various ebay screens from hard-coded to parameterized. modified: CommonScreens.xml --- ebay/widget/CommonScreens.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ebay/widget/CommonScreens.xml b/ebay/widget/CommonScreens.xml index 1b537ee73..63e8f103f 100644 --- a/ebay/widget/CommonScreens.xml +++ b/ebay/widget/CommonScreens.xml @@ -32,7 +32,7 @@ under the License. <set field="layoutSettings.companyName" from-field="uiLabelMap.EbayCompanyName" global="true"/> <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.EbayApplication" global="true"/> <set field="applicationMenuName" value="EbayAppBar" global="true"/> - <set field="applicationMenuLocation" value="component://ebay/widget/EbayMenus.xml" global="true"/> + <set field="applicationMenuLocation" value="${parameters.mainMenuLocation}" global="true"/> <set field="applicationTitle" from-field="uiLabelMap.EbayApplication" global="true"/> <set field="helpAnchor" from-field="helpAnchor" default-value="_the_ebay_component"/> </actions> @@ -134,12 +134,12 @@ under the License. <if-has-permission permission="EBAY" action="_VIEW"/> </condition> <widgets> - <include-menu name="EbayConfigTabBar" location="component://ebay/widget/EbayMenus.xml"/> + <include-menu name="EbayConfigTabBar" location="${parameters.mainMenuLocation}"/> <section> <condition><not><if-empty field="ebayConfig"/></not> </condition> <widgets> - <include-menu name="EbayConfigSubTabBar" location="component://ebay/widget/EbayMenus.xml"/> + <include-menu name="EbayConfigSubTabBar" location="${parameters.mainMenuLocation}"/> </widgets> </section> <decorator-section-include name="body"/>