You need to return a list of components that the form-level validator
depends on.  Here's one of mine:

public FormComponent<?>[] getDependentFormComponents()
{
  return new FormComponent[]{textArea1, textArea2};
}



On Wed, Feb 16, 2011 at 1:41 PM, eugenebalt <eugeneb...@yahoo.com> wrote:
>
> James Carman, correct, one validator is on a component and the other is
> form-level. That's why they both occur, and I need to prevent the form-level
> one from kicking in.
>
> How do I need to override that method? Can it be empty, or what do I
> specify?
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/Stop-at-Validator-X-in-case-of-error-do-not-run-Validator-Y-tp3309299p3309473.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to