uk.co.lakesidetech.spxforms.web.servlet.mvc
Class EditXMLFileSpXFormsController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
uk.co.lakesidetech.spxforms.web.servlet.mvc.BaseSpXCommandController
uk.co.lakesidetech.spxforms.web.servlet.mvc.AbstractSpXFormsController
uk.co.lakesidetech.spxforms.web.servlet.mvc.EditXMLFileSpXFormsController
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, org.springframework.web.servlet.mvc.Controller
- public class EditXMLFileSpXFormsController
- extends AbstractSpXFormsController
- Author:
- Stuart Eccles
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
HEADER_CACHE_CONTROL, HEADER_EXPIRES, HEADER_PRAGMA, METHOD_GET, METHOD_POST |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Method Summary |
protected java.lang.Object |
formXFormsInstance(javax.servlet.http.HttpServletRequest request)
|
protected org.springframework.web.servlet.ModelAndView |
processXFormSubmission(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
|
protected org.springframework.web.servlet.ModelAndView |
save(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
|
void |
setXmlFile(org.springframework.core.io.Resource xmlFile)
|
Methods inherited from class uk.co.lakesidetech.spxforms.web.servlet.mvc.AbstractSpXFormsController |
checkXFormsCommandClass, getCommand, getFormSessionAttributeName, getFormView, getSuccessView, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, processXFormActions, referenceData, setBindOnNewForm, setFormView, setSessionForm, setSuccessView, showForm, showForm, showForm, showNewForm |
Methods inherited from class uk.co.lakesidetech.spxforms.web.servlet.mvc.BaseSpXCommandController |
bindAndValidate, createBinder, createCommand, getCommandClass, getCommandName, getMessageCodesResolver, getValidator, getValidators, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, setCommandClass, setCommandName, setMessageCodesResolver, setValidateOnBinding, setValidator, setValidators, suppressValidation |
Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseExpiresHeader |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, isContextRequired |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditXMLFileSpXFormsController
public EditXMLFileSpXFormsController()
setXmlFile
public void setXmlFile(org.springframework.core.io.Resource xmlFile)
- Parameters:
xmlFile
- The xmlFile to set.
formXFormsInstance
protected java.lang.Object formXFormsInstance(javax.servlet.http.HttpServletRequest request)
- Specified by:
formXFormsInstance
in class AbstractSpXFormsController
- Parameters:
request
-
- Returns:
- See Also:
AbstractSpXFormsController.formXFormsInstance(javax.servlet.http.HttpServletRequest)
processXFormSubmission
protected org.springframework.web.servlet.ModelAndView processXFormSubmission(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
throws java.lang.Exception
- Overrides:
processXFormSubmission
in class AbstractSpXFormsController
- Throws:
java.lang.Exception
save
protected org.springframework.web.servlet.ModelAndView save(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object command,
org.springframework.validation.BindException errors)
throws java.lang.Exception
- Throws:
java.lang.Exception