org.kuali.rice.krad.web.controller
Class IncidentReportController
java.lang.Object
org.kuali.rice.krad.web.controller.UifControllerBase
org.kuali.rice.krad.web.controller.IncidentReportController
@Controller
@RequestMapping(value="/incidentReport")
public class IncidentReportController
- extends UifControllerBase
Handler for incident reports
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
protected IncidentReportForm |
createInitialForm(javax.servlet.http.HttpServletRequest request)
Called to create a new model(form) object when necessary. |
org.springframework.web.servlet.ModelAndView |
submitReport(UifFormBase uifForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Emails the report and closes the incident report screen |
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
addBlankLine, addLine, cancel, checkForm, checkViewAuthorization, close, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, showDialog, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncidentReportController
public IncidentReportController()
createInitialForm
protected IncidentReportForm 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)
submitReport
@RequestMapping(method=POST,
params="methodToCall=submitReport")
public org.springframework.web.servlet.ModelAndView submitReport(@ModelAttribute(value="KualiForm")
UifFormBase uifForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Emails the report and closes the incident report screen
- Throws:
Exception
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.