Hi,
did anybody had success with configuring "error message with arguments" in ValangValidator
My Validator is like this
The Problem is that I get the default message not the one whose key is 'errors.required'. This message has a argument as you can see ..Code:<bean id="domainObjectValangValidator" class="org.springmodules.validation.valang.ValangValidator"> <property name="valang"> <value> <![CDATA[ { name : ? IS NOT BLANK : 'Please select Name' : 'errors.required' : 'Name'} ]]> </value> </property> </bean>
I get the following message in my log. This obviously states the reason but what I'm looking for is how to make this work. Can anybody shed some light?Code:errors.required={0} is a required field.
Code:Mar 29, 2007 12:12:46 PM org.springmodules.validation.valang.javascript.ValangJavaScriptTranslator getErrorMessage WARNING: Translating error message with arguments is not implemented; using default message


