Hi all,

While creating new Converters and Validators, I found some more boilerplate
issues. Currently, all components uses the very useful FacesBean class to
store their properties and handle state holding and both, converters and
validators, also use it. However, unlike their component counterpart,
converter and validator does not provide as many out-of-the-box public
tools. I think we should provide a base class for both  implementating
StateHolder and providing a FacesBean structure similar to UIXComponentBase.
A ValidatorTagBase and ConverterTagBase would also be needed to provide the
set of setProperty utility methods.

It would also make it easier to extend existing validators (often the
validateDateTimeRange one because it's linked to the date picker) and still
use FacesBean, because currently overriding setMethodBinding method can be
troublesome (has to call super.setMethodBinding if and only if the
propertyKey is not found in the child object).

Any objection or name suggestions?


~ Simon

Reply via email to