@Controller @RequestMapping(value="/uicomponents") public class UifComponentsTestController extends UifControllerBase
Constructor and Description |
---|
UifComponentsTestController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
addAllMessages(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds all message types to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
addErrorInfoMessages(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds error and info messages to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
addErrors(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds errors to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
addErrorWarnMessages(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds error and warning messages to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
addInfo(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds infos to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
addLine(UifFormBase uifForm) |
org.springframework.web.servlet.ModelAndView |
addSingleErrorMessage(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds only 1 error message for testing
|
org.springframework.web.servlet.ModelAndView |
addWarnInfoMessages(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds warning and info messages to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
addWarnings(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Adds warnings to fields defined in the validationMessageFields array
|
org.springframework.web.servlet.ModelAndView |
close(UifComponentsTestForm uiTestForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected UifComponentsTestForm |
createInitialForm()
Invoked to create a new form instance for the request before it is passed to the Binder/BeanWrapper.
|
org.springframework.web.servlet.ModelAndView |
customLineAction(UifFormBase uifForm,
javax.servlet.http.HttpServletRequest request) |
org.springframework.web.servlet.ModelAndView |
errorCheck(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Generates a fake incident report to test for errorCallback
|
org.springframework.web.servlet.ModelAndView |
genCollectionServerMessages(UifComponentsTestForm uiTestForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
gotoState2(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
gotoState3(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
gotoState4(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
makeReadOnly(UifFormBase uifForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Changes the view to readOnly and returns.
|
org.springframework.web.servlet.ModelAndView |
navigate(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles menu navigation between view pages
|
org.springframework.web.servlet.ModelAndView |
redirectCheck(UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Test controller method to check for ajax redirect functionality.
|
org.springframework.web.servlet.ModelAndView |
refreshProgGroup(UifComponentsTestForm uiTestForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
refreshWithServerMessages(UifComponentsTestForm uiTestForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.springframework.web.servlet.ModelAndView |
save(UifComponentsTestForm 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.web.servlet.ModelAndView |
updateOfficial(UifFormBase uifForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs custom line action for collection 4 in kitchen sink collection demo.
|
addBlankLine, addFileUploadLine, back, cancel, checkForm, defaultMapping, deleteFileUploadLine, deleteLine, getCollectionControllerService, getControllerService, getFileControllerService, getFileFromLine, getMessageView, getModelAndView, getModelAndView, getModelAndView, getModelAndViewService, getModelAndViewWithInit, getModelAndViewWithInit, getNavigationControllerService, getQueryControllerService, getRefreshControllerService, getSaveControllerService, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, retrieveCollectionPage, returnToHub, returnToPrevious, save, saveField, saveLine, sessionTimeout, setCollectionControllerService, setControllerService, setFileControllerService, setModelAndViewService, setNavigationControllerService, setQueryControllerService, setRefreshControllerService, setSaveControllerService, showDialog, tableJsonRetrieval
public UifComponentsTestController()
protected UifComponentsTestForm createInitialForm()
createInitialForm
in class UifControllerBase
@RequestMapping(params="methodToCall=start") public org.springframework.web.servlet.ModelAndView start(UifFormBase form)
start
in class UifControllerBase
ControllerService.start(org.kuali.rice.krad.web.form.UifFormBase)
@RequestMapping(method=POST, params="methodToCall=save") public org.springframework.web.servlet.ModelAndView save(@ModelAttribute(value="KualiForm") UifComponentsTestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=close") public org.springframework.web.servlet.ModelAndView close(@ModelAttribute(value="KualiForm") UifComponentsTestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=navigate") public org.springframework.web.servlet.ModelAndView navigate(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=refreshProgGroup") public org.springframework.web.servlet.ModelAndView refreshProgGroup(@ModelAttribute(value="KualiForm") UifComponentsTestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=refreshWithServerMessages") public org.springframework.web.servlet.ModelAndView refreshWithServerMessages(@ModelAttribute(value="KualiForm") UifComponentsTestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=genCollectionServerMessages") public org.springframework.web.servlet.ModelAndView genCollectionServerMessages(@ModelAttribute(value="KualiForm") UifComponentsTestForm uiTestForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
@RequestMapping(method=POST, params="methodToCall=addErrors") public org.springframework.web.servlet.ModelAndView addErrors(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addWarnings") public org.springframework.web.servlet.ModelAndView addWarnings(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addInfo") public org.springframework.web.servlet.ModelAndView addInfo(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addAllMessages") public org.springframework.web.servlet.ModelAndView addAllMessages(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addErrorWarnMessages") public org.springframework.web.servlet.ModelAndView addErrorWarnMessages(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addErrorInfoMessages") public org.springframework.web.servlet.ModelAndView addErrorInfoMessages(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addSingleErrorMessage") public org.springframework.web.servlet.ModelAndView addSingleErrorMessage(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=addWarnInfoMessages") public org.springframework.web.servlet.ModelAndView addWarnInfoMessages(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=gotoState2") public org.springframework.web.servlet.ModelAndView gotoState2(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=gotoState3") public org.springframework.web.servlet.ModelAndView gotoState3(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=gotoState4") public org.springframework.web.servlet.ModelAndView gotoState4(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=POST, params="methodToCall=errorCheck") public org.springframework.web.servlet.ModelAndView errorCheck(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
- @RequestMapping(method=POST, params="methodToCall=redirectCheck") public org.springframework.web.servlet.ModelAndView redirectCheck(@ModelAttribute(value="KualiForm") UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
form
- result
- request
- response
- public org.springframework.web.servlet.ModelAndView addLine(UifFormBase uifForm)
addLine
in class UifControllerBase
CollectionControllerService.addLine(org.kuali.rice.krad.web.form.UifFormBase)
@RequestMapping(method=POST, params="methodToCall=customLineAction") public org.springframework.web.servlet.ModelAndView customLineAction(UifFormBase uifForm, javax.servlet.http.HttpServletRequest request)
@RequestMapping(method=POST, params="methodToCall=updateOfficial") public org.springframework.web.servlet.ModelAndView updateOfficial(@ModelAttribute(value="KualiForm") UifFormBase uifForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
uifForm
- result
- request
- response
- @RequestMapping(method=POST, params="methodToCall=makeReadOnly") public org.springframework.web.servlet.ModelAndView makeReadOnly(@ModelAttribute(value="KualiForm") UifFormBase uifForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
uifForm
- result
- request
- response
- Copyright © 2005–2014 The Kuali Foundation. All rights reserved.