cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [CForms] Add isValid() to a widget?
Date Fri, 08 Jul 2005 16:06:35 GMT
Carsten Ziegeler wrote:
> Reinhard Poetz wrote:
> 
>>no, but the interface ValidationErrorAware has and it is implemented by most 
>>model implementations.
>>
>>What's your usecase?
>>
> 
> I just want to check if a widget is valid and then output something in
> an own transformer. Ok, I could cast it to ValidationErrorAware but it
> seems a little bit strange to have a validate() method on the widget but
> no isValid() method.
> 
So anyone against it?

Carsten

-- 
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Mime
View raw message