AW: Bean Validation (JSR 303)

2010-09-28 Thread Matthias Niehoff
2010 21:55 An: MyFaces Discussion Betreff: Re: Bean Validation (JSR 303) Yeah, but there is more. First, did you package the myfaces jars in the application or in a shared library or something? And the same question for the validation api and impl jars And this Class.forName check is not the complete

Re: Bean Validation (JSR 303)

2010-09-28 Thread Jan-Kees van Andel
An: MyFaces Discussion Betreff: Re: Bean Validation (JSR 303) Yeah, but there is more. First, did you package the myfaces jars in the application or in a shared library or something? And the same question for the validation api and impl jars And this Class.forName check is not the complete check

Re: Bean Validation (JSR 303)

2010-09-28 Thread Jakob Korherr
checks the logger? Regards -Ursprüngliche Nachricht- Von: Jan-Kees van Andel [mailto:jankeesvanan...@gmail.com] Gesendet: Montag, 27. September 2010 21:55 An: MyFaces Discussion Betreff: Re: Bean Validation (JSR 303) Yeah, but there is more. First, did you package the myfaces jars

Bean Validation (JSR 303)

2010-09-27 Thread Matthias Niehoff
Hi, I'm trying to realize Bean Validation. I annotated my attributes and set javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL true. Furthermore I added a h:message tag in my form. When I test the validation nothing happens. The input is accepted (and in my case persisted). Relevant

Re: Bean Validation (JSR 303)

2010-09-27 Thread Michael Kurz
Do you have a bean validation implementation like Hibernate Validator on your classpath? regards Michael Am 27.09.2010 13:21, schrieb Matthias Niehoff: Hi, I'm trying to realize Bean Validation. I annotated my attributes and set javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL

AW: Bean Validation (JSR 303)

2010-09-27 Thread Matthias Niehoff
Validation (JSR 303) Do you have a bean validation implementation like Hibernate Validator on your classpath? regards Michael Am 27.09.2010 13:21, schrieb Matthias Niehoff: Hi, I'm trying to realize Bean Validation. I annotated my attributes and set

Re: Bean Validation (JSR 303)

2010-09-27 Thread Jan-Kees van Andel
Matthias -Ursprüngliche Nachricht- Von: Michael Kurz [mailto:michi.k...@gmx.at] Gesendet: Montag, 27. September 2010 13:33 An: users@myfaces.apache.org Betreff: Re: Bean Validation (JSR 303) Do you have a bean validation implementation like Hibernate Validator on your classpath

AW: Bean Validation (JSR 303)

2010-09-27 Thread Matthias Niehoff
: Jan-Kees van Andel [mailto:jankeesvanan...@gmail.com] Gesendet: Montag, 27. September 2010 13:52 An: MyFaces Discussion Betreff: Re: Bean Validation (JSR 303) Hey, If you specify javax.faces.VALIDATE_EMPTY_FIELDS=auto, MyFaces will look for a class named javax.validation.Validation

Re: Bean Validation (JSR 303)

2010-09-27 Thread Jakob Korherr
: Jan-Kees van Andel [mailto:jankeesvanan...@gmail.com] Gesendet: Montag, 27. September 2010 13:52 An: MyFaces Discussion Betreff: Re: Bean Validation (JSR 303) Hey, If you specify javax.faces.VALIDATE_EMPTY_FIELDS=auto, MyFaces will look for a class named javax.validation.Validation

Re: Bean Validation (JSR 303)

2010-09-27 Thread Jan-Kees van Andel
...@gmail.com] Gesendet: Montag, 27. September 2010 13:52 An: MyFaces Discussion Betreff: Re: Bean Validation (JSR 303) Hey, If you specify javax.faces.VALIDATE_EMPTY_FIELDS=auto, MyFaces will look for a class named javax.validation.Validation on the classpath. If it is found