*/
private final Collection forms = new ArrayList();
private UIComponent findForm(final String id)
{
UIComponent form = null;
UIComponent validator = null;
try
{
validator = this.findComponent(id);
}
catch (NullPointerException exception)
{
// ignore - means we couldn't find the component
}
if (validator instanceof JSFValidatorComponent)
{
final UIComponent parent = validator.getParent();
if (parent instanceof UIComponent)
{
form = (UIComponent)parent;
}
}