{
final String dependency = (String)dependencyIterator.next();
final ValidatorAction action = JSFValidator.getValidatorAction(dependency);
if (action != null)
{
final JSFValidator validator = new JSFValidator(formId, action);
final Arg[] args = field.getArgs(dependency);
if (args != null)
{
for (final Iterator varIterator = field.getVars().keySet().iterator(); varIterator.hasNext();)
{
final String name = (String)varIterator.next();
validator.addParameter(
name,
field.getVarValue(name));
}
validator.setArgs(ValidatorMessages.getArgs(
dependency,
field));
this.addValidator(
dependency,
component.getClientId(context),