You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Hariharan <ha...@medicomsoft.com> on 2003/06/09 06:04:35 UTC

validator and Multiple resource bundle

Hello friends,

i have already posted this Q. once but never got any reply,
can other atleast tell me what could be a work around for this?


I am trying to use validator with struts 1.1
My idea is to maintain separate resource bundle for each module 
for jsp pages I can give something like this

<bean:message key="registrationForm.email.displayname" bundle="module1"/>
<bean:message key="registrationForm.addr.displayname" bundle="module2"/>

but in case of validation.xml , I just can't specify from which 
resource bundle message should be taken

Eg-
	<arg0 key="registrationForm.email.displayname"/>
	<arg0 key="registrationForm.addr.displayname"/>

Hence it always looks for the key value in the default resource bundle..
there is no way I can tell that "registrationForm.email.displayname"
is in module1 etc...

What could be the solution for this,

Thanks
-Hari


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org