IIRC, the Validator can only pull from the default message resources -- that is the one configured without a "key".

Bill Siggelkow

PC Leung wrote:

I have two resources files. How can I specify which resource file to use in validation.xml?


<message-resources
parameter="com.erp.quotation.ApplicationResources"
key="quotation"
null="false" />


<message-resources
key="user"
parameter="com.security.user.ApplicationResources"
null="false" />



Validation.xml: <msg name="mask" key="error.loginForm.passwordmsg"/> <arg0 key="addUserAccountForm.password2"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to