> >>Perhaps, but then the user could bypass the validation by invoking the 
> >>setter directly. 
> >Yes is true, but It is the same that property binding. If you call a setter 
> >directly nobody is notified of the change. 
> 
> Not sure what type of property binding you are referring to, but all Pivot 
> bean properties fire change events.
> 

I was talking about a user JavaBean. For example in a Form, if you call
a set method in response of a button event instead of the
JavaBeanAdapter.

> > I think that you like declaring validations at UI level instead of data 
> > level.
> 
> Not necessarily. I think that certain validations make sense in the bean 
> itself, but others may be more appropriate for the UI to perform.
> 

Ok, so a mix of both. Can you give me some examples of UI validation ?

Reply via email to