-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
Ted Bergeron opened SPR-4528 and commented
Based on my article: http://www.triview.com/articles/hibernate/validator/canmeetyourneeds.html provide built in integration with hibernate validator.
This may be broken down into several issues:
- Extend JSP tag library to search for validation annotations via reflection. Render fields with css classes such as required, email, etc. Add maxlength attribute, etc.
- Native support to invoke the proper Hibernate ClassValidator and convert the InvalidValue array to a Spring Errors object.
- Extend JSP tags to render semantic html wrapper around form fields. Include div, label and field.
- Extend JSP tags to render with enhanced features, such as adding popup calendar for Date. Consider extracting info from assigned PropertyEditor.
- Add basic, included JavaScript validation support and/or integration with a major javascript framework such as prototype, jquery, ext, etc.
Attachments:
- triview_custom_tags.zip (6.05 MB)
- validator_whitepaper.zip (7.57 MB)
Issue Links:
- Support for declarative validation (Hibernate Validator, anticipating JSR 303) [SPR-69] #4803 Support for declarative validation (Hibernate Validator, anticipating JSR 303) ("duplicates")
2 votes, 3 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement