Hi
Right now I think you can't do that, for that matter, but I have something
in mind. Will review this later.
Maybe you can workaround this using the NHV1.2(alpha but stable) doing
something like this:
"${PropertyWithMessage}"
And your class has a property *PropertyWithMessage* as string. I know is
dirty, but will solve your problem till we implement a better solution
(think BeanValidation -java- calls it: Validation Context, so you can add
errors to the current context).
Cheers
On Wed, Apr 15, 2009 at 5:55 PM, Lars Zeb <[email protected]> wrote:
>
> I have created a customer class validator and it works OK. Using third-
> party software, it validates a postal address. This address validator
> uses Address, City, State and Zip properties.
>
> Instead of having the validator message associated with the class, I
> would like to have it associated with the Address property's message.
> And this message has about 500 variations depending on what error the
> third-party software finds, so I need to assign the Message property
> of Address at run time.
>
> Is this possible?
> >
>
>
--
Dario Quintana
http://darioquintana.com.ar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" 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/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---