public class ProposeConceptFormController
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 |
---|
ProposeConceptFormController() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
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 obj,
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 org.springframework.web.servlet.ModelAndView |
processFormSubmission(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object obj,
org.springframework.validation.BindException errors) |
protected java.util.Map<java.lang.String,java.lang.Object> |
referenceData(javax.servlet.http.HttpServletRequest request,
java.lang.Object object,
org.springframework.validation.Errors errors) |
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, 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, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, 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 processFormSubmission(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object obj, org.springframework.validation.BindException errors) throws java.lang.Exception
processFormSubmission
in class org.springframework.web.servlet.mvc.SimpleFormController
java.lang.Exception
SimpleFormController.processFormSubmission(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object,
org.springframework.validation.BindException)
protected org.springframework.web.servlet.ModelAndView onSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object obj, org.springframework.validation.BindException errors) throws java.lang.Exception
onSubmit
in class org.springframework.web.servlet.mvc.SimpleFormController
java.lang.Exception
SimpleFormController.onSubmit(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, java.lang.Object,
org.springframework.validation.BindException)
protected java.lang.Object formBackingObject(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
formBackingObject
in class org.springframework.web.servlet.mvc.AbstractFormController
javax.servlet.ServletException
AbstractFormController.formBackingObject(javax.servlet.http.HttpServletRequest)
protected java.util.Map<java.lang.String,java.lang.Object> referenceData(javax.servlet.http.HttpServletRequest request, java.lang.Object object, org.springframework.validation.Errors errors) throws java.lang.Exception
referenceData
in class org.springframework.web.servlet.mvc.SimpleFormController
java.lang.Exception
SimpleFormController.referenceData(javax.servlet.http.HttpServletRequest,
java.lang.Object, org.springframework.validation.Errors)
Copyright © 2020 OpenMRS Inc.. All Rights Reserved.