[
http://www.stripesframework.org/jira/browse/STS-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12540#comment-12540
]
Sebastien Lorber commented on STS-183:
--------------------------------------
Not exactly the same idea but it could have been cool, when binding data into
hibernate entities, to read the hibernate metadata to generate automagically
things like the max length of text inputs etc
> Add support for Hibernate validations
> -------------------------------------
>
> Key: STS-183
> URL: http://www.stripesframework.org/jira/browse/STS-183
> Project: Stripes
> Issue Type: New Feature
> Components: Validation
> Affects Versions: Release 1.3
> Reporter: James Stangler
> Attachments: HibernateValidations.tar.gz
>
>
> Here's some proposed classes to allow support for validation using Hibernate
> validation annotations. It refactors OgnlActionBeanPropertyBinder.java (as a
> new class to allow both implementations to exist) to allow a Hibernate
> validator subclass to extend it.
> Any class ending in "1_3" is a class where I would have made changes to the
> existing class bundled with stripes v1.3. This allows the classes to be
> dropped in and run in parallel with the current OGNL binder. The class
> "DefaultActionBeanPropertyBinder" is the replacement for the existing
> "OgnlActionBeanPropertyBinder". You should be able to specify this class in
> the web.xml and have everything work as before. The class
> "HibernateActionBeanPropertyBinder" is the subclass that also does Hibernate
> validation in addition to any validation that would have been performed in
> the parent class.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development