> -----Oorspronkelijk bericht-----
> Van: Reinhard Poetz [mailto:[EMAIL PROTECTED]
> Verzonden: vrijdag 3 juni 2005 9:46
> Aan: [email protected]
> Onderwerp: ValidationAware forms
>
>
> AFAICS the widget "Form" doesn't implement ValidationAware. Is there a
> special
> reason why this feature hasn't been added yet?
I'm not sure, but I think it is because a form doesn't have a visual
representation in HTML, where other widgets do have a visual representation.
Where should CForms place the error marker (the red "!") for a form?
I agree that it will be helpful to have this feature. And I think that
repeaters are a similar case (aren't ValidationErrorAware either, but I have
cases here where I want it to hold an error instead of creating a messages
widget).
>
> I was asked this in some of my trainings and IIRC there have been some
> questions
> on [EMAIL PROTECTED] My usual answer is adding an "error widget" that can
> contain
> the error. Is this our 'official' recommendation or are there better ways
> to
> achieve this?
>
> --
> Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach
>
> {Software Engineering, Open Source, Web Applications, Apache Cocoon}
>
> web(log): http://www.poetz.cc
> --------------------------------------------------------------------