xdoclet.modules.apache.struts
Class StrutsDynaFormValidatorTagsHandler
StrutsValidatorTagsHandlerxdoclet.modules.apache.struts.StrutsDynaFormValidatorTagsHandler
public class StrutsDynaFormValidatorTagsHandler
extends StrutsValidatorTagsHandler
Struts dynamic form validator tag handler.
- Nick Heudecker (nick at systemmobile dot com)
- namespace = "DFValidator"
void | forAllFields(String template, Properties attributes)- Iterates the body for each field of the current form requiring validation.
|
void | forAllForms(String template, Properties attributes)- Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.
|
String | formName(Properties attributes)- Gets the "name" attribute for the <form> element in the xml descriptor.
|
forAllFields
public void forAllFields(String template,
Properties attributes)
throws xdoclet.XDocletException Iterates the body for each field of the current form requiring validation.
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
forAllForms
public void forAllForms(String template,
Properties attributes)
throws xdoclet.XDocletException Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.
template - The body of the block tagattributes - The attributes of the template tag
xdoclet.XDocletException -
formName
public String formName(Properties attributes)
throws xdoclet.XDocletException Gets the "name" attribute for the <form> element in the xml descriptor.
attributes - The content tag attributes.
xdoclet.XDocletException - if anything goes awry.