The message resource settings only occur in the default struts config file as I can't 
pick up the message resources from the other struts config modules.

Here is what i'm trying to do:

Module A (default struts config)

  <message-resources
    key="index"
    parameter="resources.Index"
    null="false" />

Module B

  <message-resources
    key="test"
    parameter="resources.moduleB.Test"
    null="false" />

For some reason I cannot use the "test" message resource bundle when viewing a page 
from ModuleB unless I have defined it in ModuleA.

Does that help at all?


-----Original Message-----
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 12:16 PM
To: Struts Users Mailing List
Subject: Re: Multiple Application Modules


It would help if you can send your message resources settings for each
module.

--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
678-910-8017
AIM:jmitchtx




----- Original Message -----
From: "Lloyd Wilson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 12:06 PM
Subject: Multiple Application Modules


Hello,

I have an urgent need to find a resolve to this problem.

First off, I sent a post about this the other day, but noone has yet to
reply, so I figure it could be either how I worded the question, or noone
has encountered the problem.

To describe the problem, I'll first start out by telling you my
configuration.

I have configured several struts config xml files to support multiple
application modules. The applications all work fine, however, I am unable to
define message resource bundles within the application module struts config
files? The forwards, actions, etc. all work fine.

I just want to know if anyone has encountered this kind of problem as I
can't seem to find anything relative to this subject. Would you consider
this to be a bug? Could it be that I may have a configuration problem?

As a workaround I can define all the message resouce bundles in the default
struts config file. Is this the only way to do it?

Thanks for your help in advance. Any direction on this matter would be
greatly appreciated.

Cheers,
Lloyd

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


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



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

Reply via email to