@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.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Called by the add line action for a new collection line.
|
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(javax.servlet.http.HttpServletRequest request)
Called to create a new model(form) object when necessary.
|
org.springframework.web.servlet.ModelAndView |
customLineAction(UifFormBase uifForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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.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
|
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, back, cancel, checkForm, checkViewAuthorization, createDataTablesPagingHelperInstance, defaultMapping, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getUIFModelAndView, getUIFModelAndViewWithInit, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, performFieldQuery, performFieldSuggest, performLookup, performRedirect, performRedirect, refresh, resetDialogStatus, retrieveCollectionPage, retrieveOriginalComponent, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, sessionTimeout, showDialog, tableCsvRetrieval, tableJsonRetrieval, tableXlsRetrieval, tableXmlRetrieval
public UifComponentsTestController()
protected UifComponentsTestForm createInitialForm(javax.servlet.http.HttpServletRequest request)
UifControllerBase
createInitialForm
in class UifControllerBase
request
- - the http request that was madeUifControllerBase.createInitialForm(javax.servlet.http.HttpServletRequest)
@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)
UifControllerBase
start
in class UifControllerBase
@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)
navigate
in class UifControllerBase
@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(@ModelAttribute(value="KualiForm") UifFormBase uifForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
UifControllerBase
addLine
in class UifControllerBase
@RequestMapping(method=POST, params="methodToCall=customLineAction") public org.springframework.web.servlet.ModelAndView customLineAction(@ModelAttribute(value="KualiForm") UifFormBase uifForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@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-2015 The Kuali Foundation. All Rights Reserved.