Skip to content

Commit

Permalink
Improved: add mainMenuLocation to web.xml (OFBIZ-12931) (#723)
Browse files Browse the repository at this point in the history
adding the parameter to the web.xml file in various applications in obiz-framework

modified:
- the web.xml files of the various applications
  • Loading branch information
PierreSmits authored Mar 14, 2024
1 parent 3693b54 commit 4412dc1
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions applications/content/webapp/content/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ under the License.
<param-name>cmsDecoratorLocation</param-name>
<param-value>component://content/widget/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://content/widget/content/ContentMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ under the License.
<param-name>commonManufacturingDecoratorLocation</param-name>
<param-value>component://manufacturing/widget/manufacturing/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://manufacturing/widget/ManufacturingMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/marketing/webapp/marketing/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ under the License.
<param-name>mainDecoratorLocation</param-name>
<param-value>component://marketing/widget/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://marketing/widget/MarketingMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/marketing/webapp/sfa/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ under the License.
<param-name>mainDecoratorLocation</param-name>
<param-value>component://marketing/widget/sfa/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://marketing/widget/sfa/SfaMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/order/webapp/ordermgr/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ under the License.
<param-name>mainDecoratorLocation</param-name>
<param-value>component://order/widget/ordermgr/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://order/widget/ordermgr/OrderMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/party/webapp/partymgr/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ under the License.
<param-name>mainDecoratorLocation</param-name>
<param-value>component://party/widget/partymgr/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://party/widget/PartyMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/product/webapp/catalog/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ under the License.
<param-name>mainDecoratorLocation</param-name>
<param-value>component://product/widget/catalog/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://product/widget/catalog/CatalogMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/product/webapp/facility/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ under the License.
<param-name>commonFacilityDecoratorLocation</param-name>
<param-value>component://product/widget/facility/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://product/widget/facility/FacilityMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down
5 changes: 5 additions & 0 deletions applications/workeffort/webapp/workeffort/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ under the License.
<param-name>mainDecoratorLocation</param-name>
<param-value>component://workeffort/widget/CommonScreens.xml</param-value>
</context-param>
<context-param>
<description>The location of the menus file to be used in this webapp; referred to as a context variable in screen def XML files.</description>
<param-name>mainMenuLocation</param-name>
<param-value>component://workeffort/widget/WorkEffortMenus.xml</param-value>
</context-param>

<filter>
<display-name>ControlFilter</display-name>
Expand Down

0 comments on commit 4412dc1

Please sign in to comment.