org.jasig.portlet.cms.mvc.portlet
Class ViewContentController

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

@Controller
@RequestMapping(value="VIEW")
public class ViewContentController
extends Object

ViewContentController provides the main view of the portlet.

Version:
$Revision: 20658 $
Author:
Jen Bourey, jbourey@unicon.net

Constructor Summary
ViewContentController()
           
 
Method Summary
 String getContent(javax.portlet.PortletRequest request)
          Get the configured user-facing content for this portlet configuration.
 void setContentDao(IContentDao contentDao)
           
 String viewContent()
          Display the main user-facing view of the portlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewContentController

public ViewContentController()
Method Detail

setContentDao

public void setContentDao(IContentDao contentDao)

viewContent

@RequestMapping
public String viewContent()
Display the main user-facing view of the portlet.

Parameters:
request -
Returns:

getContent

@ModelAttribute(value="content")
public String getContent(javax.portlet.PortletRequest request)
Get the configured user-facing content for this portlet configuration.

Parameters:
request -
Returns:


Copyright © 2010 Jasig. All Rights Reserved.