On Wed, 2003-03-19 at 10:34, David Gagnon wrote:
> Hi all,
>  
>   I look into the RC1 code to find that ActionError
> doesn't allow to specify the bundle to search for a
> given error message.
>  
>   I my application I have multiple modules and
> multiple message ressource files.  How can I specify
> error messages coming from different bundles?

The module selection is handled for you.  ActionError is a simple bean
used to carry a message or error (key and args) to the view.  
You would specify the bundle you want as an attribute of the errors tag
or messages tag.



> The Errors Tag doesn't support to specify a bundle
> too.

Are you sure about that?
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors


> I initially got this problem in validator. I put my
> generic error messages in the base message resource
> file and the column name in a specific module.

Sorry, I can't help you with the Validator, that's not my specialty.

-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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

Reply via email to