Add support for Hibernate validations
-------------------------------------

         Key: STS-183
         URL: http://mc4j.org/jira/browse/STS-183
     Project: Stripes
        Type: New Feature

  Components: Validation  
    Versions: Release 1.3    
    Reporter: James Stangler
 Assigned to: Tim Fennell 


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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to