edu.sampleu.travel.krad.controller
Class UITestController

java.lang.Object
  extended by org.kuali.rice.krad.web.controller.UifControllerBase
      extended by edu.sampleu.travel.krad.controller.UITestController

@Controller
@RequestMapping(value="/uitest")
public class UITestController
extends UifControllerBase

Controller for the Test UI Page

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

Constructor Summary
UITestController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView close(UITestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  UITestForm createInitialForm(javax.servlet.http.HttpServletRequest request)
          Called to create a new model(form) object when necessary.
 org.springframework.web.servlet.ModelAndView foo(UITestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The bogus method generates a NPE.
 org.springframework.web.servlet.ModelAndView save(UITestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.springframework.web.servlet.ModelAndView start(UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Initial method called when requesting a new view instance which checks authorization and forwards the view for rendering
 
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase
addBlankLine, addLine, back, cancel, checkForm, checkViewAuthorization, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, retrieveTableData, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, tableJsonRetrieval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UITestController

public UITestController()
Method Detail

createInitialForm

protected UITestForm 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)
Description copied from class: UifControllerBase
Initial method called when requesting a new view instance which checks authorization and forwards the view for rendering

Overrides:
start in class UifControllerBase

save

@RequestMapping(method=POST,
                params="methodToCall=save")
public org.springframework.web.servlet.ModelAndView save(@ModelAttribute(value="KualiForm")
                                                                        UITestForm uiTestForm,
                                                                        org.springframework.validation.BindingResult result,
                                                                        javax.servlet.http.HttpServletRequest request,
                                                                        javax.servlet.http.HttpServletResponse response)

close

@RequestMapping(method=POST,
                params="methodToCall=close")
public org.springframework.web.servlet.ModelAndView close(@ModelAttribute(value="KualiForm")
                                                                         UITestForm uiTestForm,
                                                                         org.springframework.validation.BindingResult result,
                                                                         javax.servlet.http.HttpServletRequest request,
                                                                         javax.servlet.http.HttpServletResponse response)

foo

@RequestMapping(method=GET,
                params="methodToCall=foo")
public org.springframework.web.servlet.ModelAndView foo(@ModelAttribute(value="KualiForm")
                                                                       UITestForm uiTestForm,
                                                                       org.springframework.validation.BindingResult result,
                                                                       javax.servlet.http.HttpServletRequest request,
                                                                       javax.servlet.http.HttpServletResponse response)
The bogus method generates a NPE. It is used to test incident reporting

Parameters:
uiTestForm -
result -
request -
response -
Returns:


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