Hi,

I've been using NHV and I need to change the "default" messages.

I can't change the ValidatorEngine.Interpolator at runtime (I could
create a DefaultMessageInterpolator and initialize it with a different
bundle and pass it, but I can't and I think I shouldn't) and I can't
configure the resource bundle via XML, or at least I couldn't find how
to do it.

Maybe I'm missing something but it seems that the custom resource
functionality is there but I can't use it right now.

As well, i found this in ClassValidator:
        messageBundle = factory.ResourceManager ?? GetDefaultResourceManager
();
        defaultMessageBundle = GetDefaultResourceManager();

But digging into the factory, is created internally by the
ValidatorEngine specifying a null ResourceManager.

So the question is... do I have to create my own resource bundles
overriding the original ones or is there a better way to customize the
messages?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to