Differences between revisions 3 and 4
Revision 3 as of 2008-11-13 21:10:26
Size: 402
Editor: 88-117-15-122
Revision 4 as of 2009-09-20 23:00:44
Size: 404
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
(A simple demo is available here: [http://code.google.com/p/os890/source/browse/#svn/trunk/java/web/jsf/extval/examples/basic/demo_000 demo_000]) (A simple demo is available here: [[http://code.google.com/p/os890/source/browse/#svn/trunk/java/web/jsf/extval/examples/basic/demo_000|demo_000]])

Java Persistence API Support

  • Add myfaces-extval-core-*.jar and myfaces-extval-property-validation-*.jar to the classpath
  • Use JPA annotations within the model (e.g.: @Column(nullable = false) -> the field is required)

That's it!

(A simple demo is available here: demo_000)

Extensions/Validator/Getting_Started/JPA_Support (last edited 2009-09-20 23:00:44 by localhost)