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 Thu, 07 Jul 2005 14:56:47 GMT
Reinhard Poetz wrote:
> Carsten Ziegeler wrote:
> 
>>Afaik, there is no way to check in java if a widget is valid.
>>Does anyone care if I add a isValid() method?
>>
>>The validate() method can't be used as that method starts the validation
>>process.
> 
> 
> Can't you just call getValidationError() and if it returns null you know that 
> there is no error?
> 
Hmm, Widget does not have this method or am I wrong?

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