public class SchedulerListController
extends org.springframework.web.servlet.mvc.SimpleFormController
| Modifier and Type | Field and Description | 
|---|---|
| protected static org.apache.commons.logging.Log | logLogger for this class and subclasses | 
DEFAULT_COMMAND_NAME| Constructor and Description | 
|---|
| SchedulerListController() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | formBackingObject(javax.servlet.http.HttpServletRequest request)This is called prior to displaying a form for the first time. | 
| protected void | initBinder(javax.servlet.http.HttpServletRequest request,
          org.springframework.web.bind.ServletRequestDataBinder binder)Allows for Integers to be used as values in input tags. | 
| protected org.springframework.web.servlet.ModelAndView | onSubmit(javax.servlet.http.HttpServletRequest request,
        javax.servlet.http.HttpServletResponse response,
        Object command,
        org.springframework.validation.BindException errors)The onSubmit function receives the form/command object that was modified by the input form
 and saves it to the db | 
| protected Map | referenceData(javax.servlet.http.HttpServletRequest request,
             Object command,
             org.springframework.validation.Errors errors)Create a reference data map for the given request and command,
 consisting of bean name/bean instance pairs as expected by ModelAndView. | 
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, processFormSubmission, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidationcurrentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewFormbindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccesshandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected static final org.apache.commons.logging.Log log
protected void initBinder(javax.servlet.http.HttpServletRequest request,
                          org.springframework.web.bind.ServletRequestDataBinder binder)
                   throws Exception
initBinder in class org.springframework.web.servlet.mvc.BaseCommandControllerrequest - current HTTP requestbinder - the new binder instanceException - in case of invalid state or argumentsBaseCommandController.initBinder(javax.servlet.http.HttpServletRequest,
      org.springframework.web.bind.ServletRequestDataBinder)protected org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response,
                                                                Object command,
                                                                org.springframework.validation.BindException errors)
                                                         throws Exception
onSubmit in class org.springframework.web.servlet.mvc.SimpleFormControllerrequest - current servlet requestresponse - current servlet responsecommand - form object with request parameters bound onto iterrors - Errors instance without errors (subclass can add errors if it wants to)nullException - in case of errorsSimpleFormController.onSubmit(javax.servlet.http.HttpServletRequest,
      javax.servlet.http.HttpServletResponse, java.lang.Object,
      org.springframework.validation.BindException)protected Object formBackingObject(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormControllerrequest - current HTTP requestjavax.servlet.ServletExceptionAbstractFormController.formBackingObject(javax.servlet.http.HttpServletRequest)protected Map referenceData(javax.servlet.http.HttpServletRequest request, Object command, org.springframework.validation.Errors errors) throws Exception
org.springframework.web.servlet.mvc.SimpleFormControllerThe default implementation delegates to SimpleFormController.referenceData(HttpServletRequest).
 Subclasses can override this to set reference data used in the view.
referenceData in class org.springframework.web.servlet.mvc.SimpleFormControllerrequest - current HTTP requestcommand - form object with request parameters bound onto iterrors - validation errors holdernull if noneException - in case of invalid state or argumentsModelAndViewCopyright © 2015 OpenMRS Inc.. All rights reserved.