You need a Bean-Validator, sorry, no example but tests. I'll prepare an
example later.

But I don't get, you want a property caused the error, both properties are
wrong, both are differents.


On Sun, Apr 19, 2009 at 3:12 PM, Mogens Heller Grabe
<[email protected]>wrote:

> ...
>
- implementing the necessary logic in `PasswordMustBeRepeated` which
> would be called by my custom class-level validation attribute. That
> worked, but then there doesn't seem to be a way to give back
> information on _which_ property caused an error in the event that the
> validation fails.
> ...
>


-- 
Dario Quintana
http://darioquintana.com.ar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NHibernate Contrib - Development Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com.ar/group/nhcdevs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to