Type: New Feature
Affects Version/s: 6.0.0
Fix Version/s: 6.0.1
Component/s: Databind 2
I would like to draw your attention to ValidationContext class as well. It's very hard to use, I think.
getProperties(String) method returns ARRAY of properties. How should one know which element is form, and
which is real bean property? (and there was a case when 0 element was bean property, where usually first
0 element refers to form/component property) Why not to use wrapper class for this purpose, or even better,
create two additional methods in ValidationContext: getProperty() and getBeanProperty(), where former
would return form/component property, and later - actual bean property. This would be much more cleaner
in terms of usability, IMHO.
ZK-858 BeanValidator support for form validation in ZK6