Hello everybody,

In the context of the development of a component similar to PEAR::QuickForm
: i though that UserInput form elements should be able to validate
themselves.
This would allow the QF-like elements to check if a valid input was sent in
order to attribute itself the input value in it's constructor, without
having to create a ezcInputForm for each validation.
But anyway, this makes the design of UserInput more natural for me.

I attached the patch, you might have to fix the paths though.
Note that UserInput passes all tests when the patch is applied.
Anyway, for the moment i'll use extensions in my project, i was just sharing
my work for you to review.

Good day and thanks for your support.

Attachment: UserInputElementDefinitionValidationIndependence.patch
Description: Binary data

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to