|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectActionForm
ValidatorForm
FormData
public class FormData
Base class for form beans associated with action methods in PageFlowController
s. Note that Page Flow actions
may take form beans of any type.
Field Summary |
---|
Fields inherited from class ValidatorForm |
---|
page, validatorResults |
Fields inherited from class ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
FormData()
Default constructor. |
Method Summary | |
---|---|
ActionErrors |
validate(ActionMapping mapping,
HttpServletRequest request)
|
protected ActionErrors |
validateBean(Object bean,
String beanName,
ActionMapping mapping,
HttpServletRequest request)
Run all validation (declarative validation from annotations and the result of Validatable.validate(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMessages) ) on
a given bean. |
Methods inherited from class ValidatorForm |
---|
getPage, getResultValueMap, getValidatorResults, log, log, reset, setPage, setValidatorResults |
Methods inherited from class ActionForm |
---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormData()
Method Detail |
---|
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
validate
in class ValidatorForm
protected ActionErrors validateBean(Object bean, String beanName, ActionMapping mapping, HttpServletRequest request)
Validatable.validate(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest, org.apache.struts.action.ActionMessages)
) on
a given bean.
bean
- the bean to validate.beanName
- the name of the bean, to be passed to Validator to look up declarative validation rules.mapping
- the current ActionMapping.request
- the current HttpServletRequest.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |