public final class RegisteredServiceSimpleFormController
extends org.springframework.web.servlet.mvc.SimpleFormController
DEFAULT_COMMAND_NAME| Constructor and Description |
|---|
RegisteredServiceSimpleFormController(ServicesManager servicesManager,
org.jasig.services.persondir.IPersonAttributeDao attributeRepository) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
formBackingObject(javax.servlet.http.HttpServletRequest request) |
protected void |
initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
Sets the require fields and the disallowed fields from the
HttpServletRequest.
|
protected org.springframework.web.servlet.ModelAndView |
onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object command,
org.springframework.validation.BindException errors)
Adds the service to the ServiceRegistry via the ServiceRegistryManager.
|
protected Map |
referenceData(javax.servlet.http.HttpServletRequest request)
Returns the attributes, page title, and command name.
|
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, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic RegisteredServiceSimpleFormController(ServicesManager servicesManager, org.jasig.services.persondir.IPersonAttributeDao attributeRepository)
protected final void initBinder(javax.servlet.http.HttpServletRequest request,
org.springframework.web.bind.ServletRequestDataBinder binder)
throws Exception
initBinder in class org.springframework.web.servlet.mvc.BaseCommandControllerExceptionBaseCommandController.initBinder(javax.servlet.http.HttpServletRequest,
org.springframework.web.bind.ServletRequestDataBinder)protected final 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.SimpleFormControllerExceptionSimpleFormController.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.AbstractFormControllerExceptionprotected final Map referenceData(javax.servlet.http.HttpServletRequest request) throws Exception
referenceData in class org.springframework.web.servlet.mvc.SimpleFormControllerExceptionSimpleFormController.referenceData(javax.servlet.http.HttpServletRequest)Copyright © 2004-2012 Jasig. All Rights Reserved.