On Fri, May 2, 2008 at 11:56 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> there is
>  final List<IValidator> getValidators() {...} on FormComponent

which you can use like this:

Use a visitor, like:

visitChildren(FormComponent.class, new IVisitor() {
  public Object component(final Component c) {
    FormComponent fc = (FormComponent)c;
    List validators = c.getValidators();
    ...
  }
}


Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to