edu.sampleu.demo.course
Class CourseOfferingController

java.lang.Object
  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by edu.sampleu.demo.course.CourseOfferingController

@Controller
@RequestMapping(value="/courseOffering")
public class CourseOfferingController
extends UifControllerBase

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
REDIRECT_PREFIX
 
Constructor Summary
CourseOfferingController()
           
 
Method Summary
protected  CourseOfferingForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 org.springframework.web.servlet.ModelAndView start(UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Populate some data for demonstration
 
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addLine, cancel, checkViewAuthorization, close, deleteLine, getSessionDocumentService, getUIFModelAndView, getUIFModelAndView, getViewService, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnToHistory, returnToHub, returnToPrevious, toggleInactiveRecordDisplay, updateComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CourseOfferingController

public CourseOfferingController()
Method Detail

createInitialForm

protected CourseOfferingForm createInitialForm(javax.servlet.http.HttpServletRequest request)
Description copied from class: UifControllerBase
Called to create a new model(form) object when necessary. This usually occurs on the initial request in a conversation (when the model is not present in the session). This method must be overridden when extending a controller and using a different form type than the superclass.

Specified by:
createInitialForm in class UifControllerBase
Parameters:
request - - the http request that was made
See Also:
UifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)

start

@RequestMapping(params="methodToCall=start")
public org.springframework.web.servlet.ModelAndView start(@ModelAttribute(value="KualiForm")
                                                                         UifFormBase form,
                                                                         org.springframework.validation.BindingResult result,
                                                                         javax.servlet.http.HttpServletRequest request,
                                                                         javax.servlet.http.HttpServletResponse response)
Populate some data for demonstration

Overrides:
start in class UifControllerBase


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.