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 a5d617a77 Improved: WEBPOS- Move from hard-coded menu location to 
parameterized (OFBIZ-12974) (#103)
a5d617a77 is described below

commit a5d617a7719eedda08852de58182a223f320aa6e
Author: Pierre Smits <pierre.sm...@somonar.com>
AuthorDate: Fri Mar 29 09:05:12 2024 +0100

    Improved: WEBPOS- Move from hard-coded menu location to parameterized 
(OFBIZ-12974) (#103)
    
    Move the menu location in the various webs screens from hard-coded to 
parameterized.
    
    modified: CommonScreens.xml
---
 webpos/widget/CommonScreens.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webpos/widget/CommonScreens.xml b/webpos/widget/CommonScreens.xml
index 6c838ffc1..39d9e80eb 100644
--- a/webpos/widget/CommonScreens.xml
+++ b/webpos/widget/CommonScreens.xml
@@ -38,7 +38,7 @@ under the License.
                 <set field="layoutSettings.companySubtitle" 
from-field="uiLabelMap.WebPosCompanySubtitle" global="true"/>
                 <set field="activeApp" value="webpos" global="true"/>
                 <set field="applicationMenuName" value="WebPosAppBar" 
global="true"/>
-                <set field="applicationMenuLocation" 
value="component://webpos/widget/WebPosMenus.xml" global="true"/>
+                <set field="applicationMenuLocation" 
value="${parameters.mainMenuLocation}" global="true"/>
                 <set field="applicationTitle" 
from-field="uiLabelMap.WebPosMenuMain" global="true"/>
                 <set field="helpAnchor" from-field="helpAnchor" 
default-value="_apache_ofbiz_plugins"/>
                 <set field="layoutSettings.javaScripts[]" 
value="/webpos/images/js/jquery.hotkeys-0.7.9.min.js" global="true"/>
@@ -121,7 +121,7 @@ under the License.
                     <decorator-section name="pre-body">
                         <section>
                             <widgets>
-                                <include-menu name="ManagerTabBar" 
location="component://webpos/widget/WebPosMenus.xml"/>
+                                <include-menu name="ManagerTabBar" 
location="${parameters.mainMenuLocation}"/>
                             </widgets>
                         </section>
                     </decorator-section>

Reply via email to