Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected file name

...

If your portlet doesn't need a custom controller, then that is all you need to do. If you want a custom controller, then in the basicUrlMapping bean in moduleApplicationContextwebModuleApplicationContext, add a property for the portlet, pointing to the portlet's controller:

...

And the controller bean takes a simple bean declaration:

Code Block

<bean id="thismodulesportletController"
	class="@MODULE_PACKAGE@.web.controller.ThisModulesPortletController">
</bean>

...