|
Size: 402
Comment:
|
← Revision 4 as of 2009-09-20 23:00:44 ⇥
Size: 404
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)