Versions Compared

Key

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

...

Typical usage for the portletUrlType is if you have a delete link that removes something from a database. To ensure this is done in the event phase, as recommended by the portlet specification (since it is a change of state), the url can use this attribute, e.g. <s:url action="deleteEntry" portletUrlType="action"/>

Other resources

Struts 2 Portlet Tutorial
JSR168 Specification