You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Gregory F. March" <ma...@gfm.net> on 2003/07/07 19:34:44 UTC

multi-user development

I am about to allow others to work on my project now that I've set up
much of the framework.

I can see a few problems, most notable is the struts-config.xml file.  I
believe there will be much contention for this file.

I seem to recall a discussion about splitting this file up into multiple
config files, but it appears that the search facility on the
apache/struts site is down.

Is splitting the config file possible?  If so, how?

Also, assuming the above is possible, what are others doing for this?
I.e., do you have multiple config files based on modules in your app?
For example, I assume the way *not* to do this would be to have an
"action-config.xml" file, but rather a "functional-area1.xml" file.
But, this assumes you can have multiple tags/sections for things like
global-forwards and action-mappings.  Can you?

Any insight would be really appreciated.

Thanks!

/greg

--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet

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


Re: multi-user development

Posted by Sandeep Takhar <sa...@yahoo.com>.
Is this the only way? 

Do you have to specify the bundle?

sandeep
--- manglu <ma...@eutama.com> wrote:
> Hi,
> 
> My two cents.
> 
> Along the lines of multiple COnfig files, having
> multiple message 
> bundles would be handy as well(for the same
> reason(s))
> 
> I use one bundle per config file.
> 
> Usage is straight forward.
> 
> <!-- ========== Message Resources Definitions
> =======================-->
> 
> <message-resources
> parameter="properties.GenericMessages" />
> <message-resources
> parameter="properties.Module1Messages" 
> key="module1"></message-resources>
> 
> <!--End of Message Resources Definition
> ----------------------------->
> 
> here i place the Message files under a properties
> folder
> 
> In your JSPs they would used based on the "key"
> parameter supplied.
> 
> Getting Messages from multiple Resource Bundles -
> Multiple
> Application.properties file <BR>
> 
> Module1: - Default Module <bean:message
> key="personal.greetings" />: <BR>
> 
> Module2:- Module 1 <bean:message
> key="prompt.greetings" bundle="module1" 
> />:</P>
> 
> 
> Manglu
> 
> 
> 
> 
> 
> 
> 
> Mike Jasnowski wrote:
> > Yes, essentially there are two ways to work with
> multiple config files, one
> > is via sub-modules, the second is via
> comma-separated list of config files
> > in the same module.
> > 
> > -----Original Message-----
> > From: Gregory F. March [mailto:march@gfm.net]
> > Sent: Monday, July 07, 2003 1:35 PM
> > To: Struts Users Mailing List
> > Subject: multi-user development
> > 
> > 
> > 
> > I am about to allow others to work on my project
> now that I've set up
> > much of the framework.
> > 
> > I can see a few problems, most notable is the
> struts-config.xml file.  I
> > believe there will be much contention for this
> file.
> > 
> > I seem to recall a discussion about splitting this
> file up into multiple
> > config files, but it appears that the search
> facility on the
> > apache/struts site is down.
> > 
> > Is splitting the config file possible?  If so,
> how?
> > 
> > Also, assuming the above is possible, what are
> others doing for this?
> > I.e., do you have multiple config files based on
> modules in your app?
> > For example, I assume the way *not* to do this
> would be to have an
> > "action-config.xml" file, but rather a
> "functional-area1.xml" file.
> > But, this assumes you can have multiple
> tags/sections for things like
> > global-forwards and action-mappings.  Can you?
> > 
> > Any insight would be really appreciated.
> > 
> > Thanks!
> > 
> > /greg
> > 
> > --
> > Gregory F. March    -=-   
> http://www.gfm.net:81/~march    -=-    AIM:GfmNet
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Re: multi-user development

Posted by manglu <ma...@eutama.com>.
Hi,

My two cents.

Along the lines of multiple COnfig files, having multiple message 
bundles would be handy as well(for the same reason(s))

I use one bundle per config file.

Usage is straight forward.

<!-- ========== Message Resources Definitions =======================-->

<message-resources parameter="properties.GenericMessages" />
<message-resources parameter="properties.Module1Messages" 
key="module1"></message-resources>

<!--End of Message Resources Definition ----------------------------->

here i place the Message files under a properties folder

In your JSPs they would used based on the "key" parameter supplied.

Getting Messages from multiple Resource Bundles - Multiple
Application.properties file <BR>

Module1: - Default Module <bean:message key="personal.greetings" />: <BR>

Module2:- Module 1 <bean:message key="prompt.greetings" bundle="module1" 
/>:</P>


Manglu







Mike Jasnowski wrote:
> Yes, essentially there are two ways to work with multiple config files, one
> is via sub-modules, the second is via comma-separated list of config files
> in the same module.
> 
> -----Original Message-----
> From: Gregory F. March [mailto:march@gfm.net]
> Sent: Monday, July 07, 2003 1:35 PM
> To: Struts Users Mailing List
> Subject: multi-user development
> 
> 
> 
> I am about to allow others to work on my project now that I've set up
> much of the framework.
> 
> I can see a few problems, most notable is the struts-config.xml file.  I
> believe there will be much contention for this file.
> 
> I seem to recall a discussion about splitting this file up into multiple
> config files, but it appears that the search facility on the
> apache/struts site is down.
> 
> Is splitting the config file possible?  If so, how?
> 
> Also, assuming the above is possible, what are others doing for this?
> I.e., do you have multiple config files based on modules in your app?
> For example, I assume the way *not* to do this would be to have an
> "action-config.xml" file, but rather a "functional-area1.xml" file.
> But, this assumes you can have multiple tags/sections for things like
> global-forwards and action-mappings.  Can you?
> 
> Any insight would be really appreciated.
> 
> Thanks!
> 
> /greg
> 
> --
> Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org



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


RE: multi-user development

Posted by Mike Jasnowski <mj...@bea.com>.
Yes, essentially there are two ways to work with multiple config files, one
is via sub-modules, the second is via comma-separated list of config files
in the same module.

-----Original Message-----
From: Gregory F. March [mailto:march@gfm.net]
Sent: Monday, July 07, 2003 1:35 PM
To: Struts Users Mailing List
Subject: multi-user development



I am about to allow others to work on my project now that I've set up
much of the framework.

I can see a few problems, most notable is the struts-config.xml file.  I
believe there will be much contention for this file.

I seem to recall a discussion about splitting this file up into multiple
config files, but it appears that the search facility on the
apache/struts site is down.

Is splitting the config file possible?  If so, how?

Also, assuming the above is possible, what are others doing for this?
I.e., do you have multiple config files based on modules in your app?
For example, I assume the way *not* to do this would be to have an
"action-config.xml" file, but rather a "functional-area1.xml" file.
But, this assumes you can have multiple tags/sections for things like
global-forwards and action-mappings.  Can you?

Any insight would be really appreciated.

Thanks!

/greg

--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet

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



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