-
1. Re: bean validation
asavitsky Sep 24, 2008 3:06 PM (in response to trunikov.dmitry.trunikov.zoral.com.ua)Use application-level validation, in combination with manual flush - this way, the bean will be saved only if you explicitly ask for it via em.flush().
-
2. Re: bean validation
trunikov.dmitry.trunikov.zoral.com.ua Sep 25, 2008 8:11 AM (in response to trunikov.dmitry.trunikov.zoral.com.ua)Hi Alex!
Thank you for your quick reply. Actually at present I already use your solution. But I think that it is a bit cumbersome. IMHO the best solution is usage a Hibernate bean level validator but as I can see Seam is not able to catch and process exception thrown by the validator and show global error message.
Hi ALL! Do you know other solution(s)?
-
3. Re: bean validation
accless Sep 25, 2008 11:31 AM (in response to trunikov.dmitry.trunikov.zoral.com.ua)i encountered the same problem. Hibernate offers bean-level validation. But this feature isnt properly integrated/supported in SEAM (especially with the frontend).
Therefore, we have to live with the application-level validation.Greetings
AccLess
-
4. Re: bean validation
olibutzki.oliver_libutzki.gmx.de Nov 10, 2009 9:29 PM (in response to trunikov.dmitry.trunikov.zoral.com.ua)This topic is more than one year old... but it looks like the problem still exists. Just look at my thread: http://seamframework.org/Community/BeanValidationError
Does anyone have a solution?