views:

108

answers:

0

I am using NHibernate Validation with external definitions (that is not using attributes on classes, implementing validation by inheriting from ValidationDef<>)

I am using the RulesProvider from here as I am using NHV 1.2

I am trying to get client side validation working in xVal. But because the validation does not come from the attributes the rules provider dose not pick them up.

It seems like I need to get the rules from the ValidatorEngine but I cannot see an easy way of doing this.

Anyone done this before?