<html> <head> </head> <body bgcolor="#ffffff"> <h2>CommonsValidator</h2> <p>Implemented in class <a href="../api/xdoclet/modules/spring/SpringValidatorTagsHandler.html">xdoclet.modules.spring.SpringValidatorTagsHandler</a>.</p> <ul> <li><a href="#block">Block Tags</a> <li><a href="#content">Content Tags</a> </ul> <h3><a name="block">Block Tags:</a></h3> <h4><a name="forAllFieldArgs">forAllFieldArgs</a> (block template)</h4> <p>Iterates over all arguments for the current field.</p> <h4><a name="forAllFields">forAllFields</a> (block template)</h4> <p>Iterates the body for each field of the current form requiring validation.</p> <h4><a name="forAllForms">forAllForms</a> (block template)</h4> <p>Iterates over all POJOs and evaluates the body of the tag for each class.</p> <h4><a name="ifArgIsForType">ifArgIsForType</a> (block template)</h4> <p>Evaluates the body if the current argument is a validator-specific argument.</p> <h4><a name="ifArgIsResource">ifArgIsResource</a> (block template)</h4> <p>Evaluates body if current argument is a resource key.</p> <h4><a name="ifArgIsValue">ifArgIsValue</a> (block template)</h4> <p>Evaluates the body if the current argument is an inline value rather than a resource key.</p> <h4><a name="ifFormHasFields">ifFormHasFields</a> (block template)</h4> <p>Evaluates the body if form has fields requiring validation.</p> <h4><a name="ifNoArg0">ifNoArg0</a> (block template)</h4> <p>Evaluates the body if there is no arg0 specified.</p> <h4><a name="setMatchValue">setMatchValue</a> (block template)</h4> <p>Sets the value of match variable.</p> <table border="1" cellpadding="2" cellspacing="0" width="100%"> <tr> <td width="25%" valign="top"> <i> value </i> </td> <td width="75%" valign="top"> The new value for matchPattern.<br></br> </td> </tr> </table> <h3><a name="content">Content templates:</a></h3> <h4><a name="argIndex">argIndex</a> (content template)</h4> <p>Current argument index number (0 to 3).</p> <h4><a name="argName">argName</a> (content template)</h4> <p>Current argument name - only valid if argument is for a specific validator type.</p> <h4><a name="argValue">argValue</a> (content template)</h4> <p>Current argument value, which is either an inline value or resource key.</p> <h4><a name="currentToken">currentToken</a> (content template)</h4> <p>Returns current token inside forAllClassTagTokens.</p> <h4><a name="fieldName">fieldName</a> (content template)</h4> <p>Returns the current fields name.</p> <h4><a name="formName">formName</a> (content template)</h4> <p>Gets the "name" attribute for the <form> element in the xml descriptor. This should be the "path" form attribute if this is a ValidatorActionForm or the "name" attribute otherwise.</p> <h4><a name="matchValue">matchValue</a> (content template)</h4> <p>Returns the value of match variable. Match variable serves as a variable for templates, you set it somewhere in template and look it up somewhere else in template.</p> <h4><a name="skipToken">skipToken</a> (content template)</h4> <p>Skips current token. Returns empty string.</p> <h4><a name="validatorList">validatorList</a> (content template)</h4> <p>Returns a comma-separated list of the specified validator types.</p> </body> </html>