|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.AbstractSpXFormsModelViewController
Field Summary |
Fields inherited from class uk.co.lakesidetech.spxforms.web.servlet.mvc.BaseSpXCommandController |
DEFAULT_COMMAND_NAME |
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 |
Constructor Summary | |
AbstractSpXFormsModelViewController()
|
Method Summary | |
protected abstract org.w3c.dom.Document |
formXFormsModel(javax.servlet.http.HttpServletRequest request)
|
protected abstract org.w3c.dom.Document |
formXFormsView(javax.servlet.http.HttpServletRequest request)
|
void |
setXformsXSLTRenderer(org.springframework.core.io.Resource xformsXSLTRenderer)
|
protected org.springframework.web.servlet.ModelAndView |
showForm(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.validation.BindException errors)
This implementation shows the configured form view. |
Methods inherited from class uk.co.lakesidetech.spxforms.web.servlet.mvc.AbstractSpXFormsController |
checkXFormsCommandClass, formXFormsInstance, getCommand, getFormSessionAttributeName, getFormView, getSuccessView, handleInvalidSubmit, handleRequestInternal, isBindOnNewForm, isFormSubmission, isSessionForm, processXFormActions, processXFormSubmission, referenceData, setBindOnNewForm, setFormView, setSessionForm, setSuccessView, 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 |
Constructor Detail |
public AbstractSpXFormsModelViewController()
Method Detail |
public void setXformsXSLTRenderer(org.springframework.core.io.Resource xformsXSLTRenderer)
xformsXSLTRenderer
- The xformsXSLTRenderer to set.protected 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
AbstractSpXFormsController
showForm
in class AbstractSpXFormsController
request
- current HTTP requestresponse
- current HTTP responseerrors
- validation errors holder
java.lang.Exception
- in case of invalid state or argumentsAbstractSpXFormsController.showForm(HttpServletRequest, BindException, String)
,
SimpleFormController#setFormView
,
AbstractSpXFormsController.setFormView(java.lang.String)
protected abstract org.w3c.dom.Document formXFormsModel(javax.servlet.http.HttpServletRequest request)
protected abstract org.w3c.dom.Document formXFormsView(javax.servlet.http.HttpServletRequest request)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |