Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for declarative validation (Hibernate Validator, anticipating JSR 303) [SPR-69] #4803

Closed
spring-projects-issues opened this issue Mar 10, 2004 · 5 comments
Assignees
Labels
has: votes-jira Issues migrated from JIRA with more than 10 votes at the time of import in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 10, 2004

Juergen Hoeller opened SPR-69 and commented

Support for defining validation rules on beans via source markup.

Support for declarative assignment of PropertyValidationRules to bean properties via Spring-IoC, through a scripting environment such as Groovy/Beanshell, or programatically in plain Java.


Affects: 1.2 RC1

Issue Links:

14 votes, 13 watchers

@spring-projects-issues
Copy link
Collaborator Author

Matthew Payne commented

Would love to see something done here.

It would be nice to have a light weight/plugable validator.

I frequently see the need to validate an ramdom object against some type of declartive(xml?) setting.

For some favor XWork's (http://opensymphony.com/) validator is very nice to work with.

@spring-projects-issues
Copy link
Collaborator Author

Rob Harrop commented

I have moved this into the timeframe of 2.1 but it is definitely on the radar. AleksS and I have been working on a Java/.NET expression language that can then be used as the basis of a validation language (which Aleks has already prototyped for .NET). StevenD has been doing some interesting work on Valang and JanM is doing some interesting work in the rules area so there is certainly a lot to go at here.

Rob

@spring-projects-issues
Copy link
Collaborator Author

Steven Devijver commented

UriB is involved in the JSR-303 spec. It's still early days for this one but I think it would be a good candidate too.

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Moving this to 3.0 M1, since we are unlikely to tackle this within the 2.x branch. 3.0 will also allow this to require Java 5 (without any constraints).

Juergen

@spring-projects-issues
Copy link
Collaborator Author

Donny A. Wijaya commented

I would like to have 'validation' namespace for declaring validation in Spring context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has: votes-jira Issues migrated from JIRA with more than 10 votes at the time of import in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants