Class PortletModeNameViewController

  • All Implemented Interfaces:
    Controller

    public class PortletModeNameViewController
    extends Object
    implements Controller

    Trivial controller that transforms the PortletMode to a view name. The advantage here is that the client is not exposed to the concrete view technology but rather just to the controller URL; the concrete view will be determined by the ViewResolver.

    Example: PortletMode.VIEW -> "view"

    This controller does not handle action requests.

    Since:
    2.0
    Author:
    William G. Thompson, Jr., John A. Lewis