Re: Behaviour being also a Validator

2010-04-07 Thread Jeremy Thomerson
I don't see a problem with this. I think it would need to somehow be bi-directional, though. i.e., if you had your object currently cast as a behavior, and called add(IBehavior), that it would also need to add it as a validator. The problem, of course, being that you can't just add the exact

Behaviour being also a Validator

2010-03-22 Thread Uwe Schäfer
hi i ran into a problem, where a Behaviour, that at some point happens to also implement also IValidator did no longer get the expected callbacks. this is understandable given the fact, that i call either add(IValidator) on FormComponent or add(IBehaviour) on Component to add it. I am