Versions Compared

Key

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

Work in progress

XWork configuration

The base package of your application should extend the webwork-portlet-default package, e.g:

Code Block
titlexwork.xml

<include file="webwork-default.xml" />
    <package name="view" extends="webwork-portlet-default" namespace="/view">

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:

...