public class ImplementationIdFormController
extends org.springframework.web.servlet.mvc.SimpleFormController
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log
Logger for this class and subclasses
|
DEFAULT_COMMAND_NAME
Constructor and Description |
---|
ImplementationIdFormController() |
Modifier and Type | Method and Description |
---|---|
protected Object |
formBackingObject(javax.servlet.http.HttpServletRequest request)
The object that backs the form.
|
protected org.springframework.web.servlet.ModelAndView |
onSubmit(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response,
Object object,
org.springframework.validation.BindException exceptions)
Actions taken when the form is submitted
|
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, processFormSubmission, referenceData, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidation
currentFormObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm
bindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccess
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
protected final org.apache.commons.logging.Log log
protected org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response, Object object, org.springframework.validation.BindException exceptions) throws Exception
onSubmit
in class org.springframework.web.servlet.mvc.SimpleFormController
req
- current servlet requestresponse
- current servlet responseobject
- form object with request parameters bound onto itexceptions
- Errors instance without errors (subclass can add errors if it wants to)null
Exception
- 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 Exception
formBackingObject
in class org.springframework.web.servlet.mvc.AbstractFormController
request
- current HTTP requestException
- in case of invalid state or argumentsAbstractFormController.formBackingObject(javax.servlet.http.HttpServletRequest)
Copyright © 2015 OpenMRS Inc.. All rights reserved.