xdoclet.modules.apache.struts

Class StrutsDynaFormValidatorTagsHandler

public class StrutsDynaFormValidatorTagsHandler extends StrutsValidatorTagsHandler

Struts dynamic form validator tag handler.

Version: $Revision: 1.2 $

Author: Nick Heudecker (nick at systemmobile dot com)

UNKNOWN: September 27, 2004 namespace = "DFValidator"

Method Summary
voidforAllFields(String template, Properties attributes)
Iterates the body for each field of the current form requiring validation.
voidforAllForms(String template, Properties attributes)
Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.
StringformName(Properties attributes)
Gets the "name" attribute for the <form> element in the xml descriptor.

Method Detail

forAllFields

public void forAllFields(String template, Properties attributes)
Iterates the body for each field of the current form requiring validation.

Parameters: template The body of the block tag attributes The attributes of the template tag

Throws: XDocletException

UNKNOWN: type = "block"

forAllForms

public void forAllForms(String template, Properties attributes)
Iterates over all POJOs with dynaform tags and evaluates the body of the tag for each class.

Parameters: template The body of the block tag attributes The attributes of the template tag

Throws: XDocletException

UNKNOWN: type = "block"

formName

public String formName(Properties attributes)
Gets the "name" attribute for the <form> element in the xml descriptor.

Parameters: attributes The content tag attributes.

Returns: form name

Throws: XDocletException if anything goes awry.

UNKNOWN: type = "content"