|
From: Matt R. <li...@ra...> - 2005-04-19 18:14:53
|
On Apr 19, 2005, at 9:48 AM, Rob Harrop wrote: > > Matt, > =A0 > Spring Modules 0.1 is going out to tomorrow we reworked Commons =20 > Validator support. I would certainly appreciate your feedback on it =20= > when you get a chance to us it. I updated from CVS and tried it - incorporating the changes listed in =20= changelog.txt. Here's what I had to change to migrate from the =20 previous version (which mainly required package-name changes). BeanValidator -> DefaultBeanValidator Remove init-method attribute from ValidatorFactory Change "resources" property on ValidatorFactory to =20 "validationConfigLocations" Everything seems to work great. Are there any additional changes you =20= plan on making before the 0.1 release? One thing I noticed in Validator 1.1.3 is that much of the JavaScript =20= is generated from code inside the JAR, rather than a =20 validator-rules.xml file. I'm guessing validator-rules.xml is still =20 required for Spring integration? Yep, answered my own question: leaving =20= it out results in: java.lang.NullPointerException: Depends string "required" was not found =20= in validator-rules.xml. at =20 org.springmodules.commons.validator.taglib.JavascriptValidatorTag.doStar=20= tTag(JavascriptValidatorTag.java:334) Maybe this file should be included in the release somehow - or we =20 should figure out a way to override the JavaScript that's generated =20 from inside commons-validator.jar? The guys on the validator list are =20= pretty friendly, so I'm guessing they'd be willing to help out with =20 this. Matt > =A0 > Rob > =A0 > > From: spr...@li... =20 > [mailto:spr...@li...] On =20 > Behalf Of Matt Raible > Sent: 19 April 2005 17:04 > To: spr...@li... > Subject: Re: [Springframework-developer] Where does webflow live? > =A0 > > So what's the recommended strategy here? Do you guys recommend I drop =20= > spring-sandbox.jar from AppFuse/Equinox and use the springmodules =20 > version of Commons Validator support? My guess is "yes". > > It would be nice if there was a release of the validator support on =20= > java.net?. Is it possible to publish a 1.0 version of the validator =20= > JAR? > > Thanks, > > Matt > |