pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: [jira] [Resolved] (PIVOT-758) Required Fields inside a Form
Date Wed, 15 Jun 2011 22:14:57 GMT
>> let's see later if something useful on this will happen (if not on call all validators,
at least on the ability to attach a validator on any input element).
>
> Validators are designed to validate text. Only TextInput and TextArea allow users to
enter text, so they are the only components that make sense to attach validators to. However,
validating the text of a TextArea is not a common use case and would most likely incur a large
performance penalty (the content of a TextArea is generally much longer than that of a TextInput).
> So validators (as currently implemented, anyways) are not likely to be a good basis for
any sort of generic validation framework.
Yes, and there are so many validator frameworks (for example that
included in Java EE 6) so we can start to think at something more
general (as you know in data-centric applications, validators have an
important role) for the future ... and maybe more aligned with other
standard framework, so transition to Pivot could be simplified.
At least to start to collect some ideas.

Bye

Mime
View raw message