View Javadoc

1   package com.germinus.merlin.controller.assignments;
2   
3   import javax.portlet.ActionRequest;
4   import javax.portlet.ActionResponse;
5   import javax.portlet.RenderRequest;
6   import javax.portlet.RenderResponse;
7   
8   import org.apache.commons.logging.Log;
9   import org.apache.commons.logging.LogFactory;
10  import org.springframework.beans.factory.InitializingBean;
11  import org.springframework.web.portlet.ModelAndView;
12  import org.springframework.web.portlet.mvc.AbstractController;
13  
14  
15  public class AssignmentsHelpController extends AbstractController implements 
16  		InitializingBean {
17  
18  	private static final Log log = LogFactory
19  			.getLog(AssignmentsListController.class);
20  
21  	public void afterPropertiesSet() throws Exception {
22  	}
23  	/**
24  	 * Process the action request. There is nothing to return.
25  	 * 
26  	 * @param request
27  	 * @param response
28  	 * @throws Exception
29  	 */
30  	public void handleActionRequestVoid(ActionRequest request,
31  			ActionResponse response) throws Exception {
32  	}
33  
34  	/**
35  	 * Process the list of assignments to be view in the search container
36  	 * Process the render request and return a ModelAndView object which the
37  	 * DispatcherPortlet will render.
38  	 * 
39  	 * @param request
40  	 * @param response
41  	 * @throws Exception
42  	 * @return ModelAndView
43  	 */
44  	@SuppressWarnings("unchecked")
45  	public ModelAndView handleRenderRequestInternal(RenderRequest request,
46  			RenderResponse response) throws Exception {
47  		log.debug("Help Controller");
48  		return new ModelAndView("assignments/assignmentsHelpView", "", null);
49  	}
50  }