public class AddPersonController
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 |
|---|
AddPersonController() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<PersonListItem> |
formBackingObject(javax.servlet.http.HttpServletRequest request)
This is called prior to displaying a form for the first time.
|
protected org.springframework.web.servlet.ModelAndView |
onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors) |
org.springframework.web.servlet.ModelAndView |
showForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.validation.BindException errors)
Prepares the form view
|
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, processFormSubmission, referenceData, referenceData, setFormView, setSuccessView, 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, initBinder, 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, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected final org.apache.commons.logging.Log log
protected org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
throws java.lang.Exception
onSubmit in class org.springframework.web.servlet.mvc.SimpleFormControllerjava.lang.ExceptionSimpleFormController.onSubmit(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object,
org.springframework.validation.BindException)protected java.util.List<PersonListItem> formBackingObject(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
formBackingObject in class org.springframework.web.servlet.mvc.AbstractFormControllerjavax.servlet.ServletExceptionAbstractFormController.formBackingObject(javax.servlet.http.HttpServletRequest)public org.springframework.web.servlet.ModelAndView showForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.validation.BindException errors)
throws java.lang.Exception
showForm in class org.springframework.web.servlet.mvc.SimpleFormControllerjava.lang.ExceptionCopyright © 2020 OpenMRS Inc.. All Rights Reserved.