Form has #add(IFormValidator)
FormComponent has #add(IValidator)
what exactly do you mix ?
On Wed, Jan 19, 2011 at 3:42 PM, Jan Ferko wrote:
> Hi,
>
> I worked on validators for my app and I noticed that IFormValidator is not
> subinterface of IValidator, which made some problems in app as we are using
> both components which needs IValidators and IFormValidators as we need same
> validators in both types of components we have to implement both interfaces
> which leeds mostly to lot of duplicit code. So i was wondering is there any
> particular reason that FormValidators and Validators are separated?
> Thanks for respond.
>
> Jan Ferko
>