Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step - 4 Create a file named "web.xml"(web.xml follows j2ee webapp specs). Contents of this file can be taken from any of the existing component e.g. example component. The Important values to change are the <display-name>, the localDispatcherName, and the mainDecoratorLocation.

    

     

Code Block
    <context-param>
          <param-name>localDispatcherName</param-name>
          <param-value>practice</param-value>
          <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>
    </context-param> 
Code Block

    param>
<context-param>
          <param-name>mainDecoratorLocation</param-name>
          <param-value>component://practice/widget/CommonScreens.xml</param-value>
          <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>
    </context-param>

For now put the value: "component://practice/widget/CommonScreens.xml" in for the location and you will see why in a while. This location is used in pointing to the main decorator location in screens like

...