commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Speakmon" <bspeak...@apache.org>
Subject Re: Commons Validator and Annotations
Date Wed, 02 Jan 2008 21:19:45 GMT
Client-side means browser, which means javascript, right? In that case, it's
not even Java anymore.

On Jan 2, 2008 1:13 PM, Jason Bell <jason.bell@e-gineering.com> wrote:

> We want to use the client-side validation aspect of Commons Validator.
>  We're using it in other webapps, but in our newest endeavor, we'd like to
> centralize the config info.
>
> Thanks,
> Jason
>
>
> -----Original Message-----
> From: apacheben@gmail.com on behalf of Ben Speakmon
> Sent: Wed 1/2/2008 4:12 PM
> To: Jakarta Commons Users List
> Subject: Re: Commons Validator and Annotations
>
> If you already have annotations at your hibernate layer to do validation,
> why do you want to do it again somewhere else? Or are you talking about
> validating different data than what gets stuffed into hibernate?
>
> On Jan 2, 2008 12:40 PM, Jason Bell <jason.bell@e-gineering.com> wrote:
>
> >
> > Greetings,
> >
> > I'm looking to skip the xml configuration of validation and instead read
> > the rules from annotations.  We're using hibernate objects throughout
> the
> > app, even for the form.  And we're using annotations to configure all of
> the
> > hibernate goodness.  So, we'd like to just go ahead and use these
> > annotations to build our validation - maxlengths, number formats,
> required,
> > etc.  Has anyone out there done this (or know of an open source project
> that
> > has)?
> >
> >
> > Thanks!
> >
> > Jason
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message