short addition: i noticed that you are new here - so welcome @ myfaces!
regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/6/23 Gerhard Petracek <[email protected]> > hi jakob, > > @Past is a bean-validation annotation. > myfaces-extval-bean-validation is just an adapter for bean-validation which > adds additional features as well as bv-support for jsf 1.x. > so you have to add an implementation of bean-validation e.g. apache bval or > hibernate validator v4 (besides the core and the bv module of extval) to > your project. > you can have a look at the examples [1] in the repository - e.g. [2] for > jsf2. > > regards, > gerhard > > [1] https://svn.apache.org/repos/asf/myfaces/extensions/validator/ > [2] > https://svn.apache.org/repos/asf/myfaces/extensions/validator/tags/extval-2.0.4/examples/hello_bean-validation/pom.xml > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > > > 2011/6/23 <[email protected]> > > Hello, >> >> seems to be a bug of extval, the following is not working: >> >> @Past(message = "...") >> @Temporal(TemporalType.DATE) >> private java.util.Date date; >> >> Hibernate recognizes it correctly but I don't get a message in the JSF >> frontend. If I change the code to >> >> @Past(message = "...") >> @Temporal(TemporalType.DATE) >> private java.util.Date dateOfSomething; >> >> it behaves as supposed. >> >> Ciao, >> Jakob >> -- >> NEU: FreePhone - kostenlos mobil telefonieren! >> Jetzt informieren: http://www.gmx.net/de/go/freephone >> > >

