we have different resource bundles registered in struts-config.xml file using
the latest nightly build of struts
   <message-resources key="common" parameter="resources.common" />
   <message-resources key="error" parameter="resources.error" />

I am able to access the resources via 
   <bean:message key="errors.header" bundle="error"/>
   <bean:message key="common.username" bundle="common"/>

The problem is only with the validator framework. It seems that there is no way
to specify the bundle name and a lookup is hardcoded to Action.MESSAGES_KEY.
Returned error message is 'Cannot find message resources under key
org.apache.struts.action.MESSAGE' 

The key is specified in validation.xml file e.g. <arg0 key="common.username"/>
without a bundle attribute :-(

Is there a way to access/specify the proper bundle? Shouldn't the
html:javascript tag library provide a bundle attribute as bean:message does?


Thanks & Best regards,
Rainer
-- 

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

Reply via email to