The problem you are reporting is logged as bug
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10868 in buzilla and I see
there are two patches posted.

I am not sure how the bug process works and how these posted patches should
be dealt with?

Greg

-----Original Message-----
From: Rainer Mueller [mailto:rmueller@;inventage.com]
Sent: Thursday, October 24, 2002 10:18 AM
To: [EMAIL PROTECTED]
Subject: different resource bundles & validation framework


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>


--
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