back then while discussing this in BVal we also had the idea to just add a module to commons-validator. This project already has tons of validations. We might easily add bean-validation contraint annotations for those.
LieGrue, strub ----- Original Message ----- > From: Romain Manni-Bucau <[email protected]> > To: [email protected] > Cc: > Sent: Monday, December 17, 2012 2:47 PM > Subject: Re: DeltaSpike Roadmap > > +1 for a separated lib but not in DS IMO > > could be a commons-bval or something like that no? depend the amount > of validations > > that's said bval-extra works too and i think i saw the same in > hibernate (can't remember the name) > > maybe just another "merge" project to create, wdyt? > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > > 2012/12/17 Gerhard Petracek <[email protected]>: >> +0 (what we would really need with both bval and hibernate-validator is a >> constraint-lib which is packaged separately from the bv-impl.) >> >> @ thomas: >> besides discussions on the list, you could follow [1]. >> >> regards, >> gerhard >> >> [1] >> > http://incubator.apache.org/deltaspike/suggested-git-workflows.html#discussion-workflow-optional >> >> >> >> 2012/12/17 Romain Manni-Bucau <[email protected]> >> >>> yep: here the extra part: >>> http://svn.apache.org/repos/asf/bval/trunk/bval-extras/ (not specific >>> IIRC) >>> >>> and here the email: >>> >>> > http://svn.apache.org/repos/asf/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/constraints/EmailValidator.java >>> >>> Romain Manni-Bucau >>> Twitter: @rmannibucau >>> Blog: http://rmannibucau.wordpress.com/ >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>> Github: https://github.com/rmannibucau >>> >>> >>> >>> 2012/12/17 John D. Ament <[email protected]>: >>> > +1 to Romain's thoughts. >>> > >>> > DeltaSpike shouldn't care about Validations, since >>> > javax.validator.Validator is already injectable to the application > stack. >>> > Hibernate Validator already provides an @Email as well, perhaps > it would >>> > be worthwhile to encourage that community publish the constraints > in an >>> > implementation inspecific fashion (right now I think they're > just part of >>> > the JAR). >>> > >>> > >>> > On Mon, Dec 17, 2012 at 7:25 AM, Romain Manni-Bucau >>> > <[email protected]>wrote: >>> > >>> >> Hi, >>> >> >>> >> about bval we should maybe see with bval project. IMO we > shouldnt take >>> >> validator which doesn't need CDI (bval-extra is here for > that) - i >>> >> think to email one which is already in place in bval-extra >>> >> >>> >> wdyt? >>> >> >>> >> Romain Manni-Bucau >>> >> Twitter: @rmannibucau >>> >> Blog: http://rmannibucau.wordpress.com/ >>> >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >>> >> Github: https://github.com/rmannibucau >>> >> >>> >> >>> >> >>> >> 2012/12/17 Thomas Andraschko > <[email protected]>: >>> >> > ng i used in some project is >>> >> >>> >
