Versions Compared

Key

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

...

Code Block
titlexwork.xml
<include file="webwork-portlet-default.xml" />

<package name="view" extends="webwork-portlet-default" namespace="/view">

 

Note

If you're using version 2.2.1 of WebWork, include the file webwork-default.xml instead.

 

Portlet init parameters

Below is the init-param elements that you can set up in portlet.xml for configuring the portlet mode -> xwork namespace mappings for the portlet. Basically, you can think of the different portlet modes as different sub-applications, so it can be useful to set up the xwork.xml configuration with different namespaces for the different portlets and modes:

...