-
New Feature
-
Resolution: Fixed
-
Normal
-
6.0.0
-
None
-
None
[copied]
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.
- blocks
-
ZK-858 BeanValidator support for form validation in ZK6
- Closed