Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Use {info} macro for the information block.

...

 

<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">

 

 

Info

The mainDecoratorLocation is available in parameters map as it is defined in webapp's web.xml

...

web.xml

 

<context-param>
    <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description>
    <param-name>mainDecoratorLocation</param-name>
    <param-value>component://ofbizdemo/widget/CommonScreens.xml</param-value>
</context-param>

 

...