Re: Validation

"Shash Chatterjee" <[email protected]>
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Nathan,

> I am using Keel 2.0 currently.  Is there support for the Struts 
> validator still baked into keels implementation of Struts?  Or is 
> there something that is taking its place.  I ask this because the 
> validateField method on persistents seem to only check for null, and 
> then for a default value.  And so any other validation seems to 
> occur when the database might complain, which is too late in many 
> cases.  


Not sure if I know how to answer your question directly.  Struts is intact in
its entirety.  Whatever validation Keel does is after the Struts validation of
inputs.  But Struts validation is not done automatically by Keel, you have to
set that up in struts-config.xml.  

Shash
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.