Class ViewContentController

java.lang.Object
org.jasig.portlet.cms.mvc.portlet.ViewContentController

@Controller
@RequestMapping("VIEW")
public class ViewContentController
extends Object
ViewContentController provides the main view of the portlet.
Version:
$Revision$
Author:
Jen Bourey, jbourey@unicon.net
  • Constructor Details

  • Method Details

    • viewContent

      @RequestMapping public String viewContent()
      Display the main user-facing view of the portlet.
      Returns:
      view name
    • getContent

      @ModelAttribute("content") public String getContent​(javax.portlet.PortletRequest request)
      Get the configured user-facing content for this portlet configuration.
      Parameters:
      request - PortletRequest
      Returns:
      content for portlet configuration