Re: Can I have multiple ApplicationResources from the same locale ?

2004-05-26 Thread Riyad Kalla
Hey that's perfect, thanks Mick!

On Wednesday 26 May 2004 11:49 am, [EMAIL PROTECTED] wrote:
> That is so if the key does not exist, you will get ???bundle.key.attr???
> instead of a null string.
>
>
>
> -Original Message-
> From: Riyad Kalla [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 26, 2004 11:44 AM
> To: Struts Users Mailing List
> Subject: Re: Can I have multiple ApplicationResources from the same
> locale ?
>
>
> Ahhh ok, thanks for the info.
>
> What is null=false for?
>
> On Wednesday 26 May 2004 11:43 am, [EMAIL PROTECTED] wrote:
> > 
> >  > key="BUTTONS_KEY" null="false" />
> >
> > And then in the use the 'bundle=""' attribute on the bean:write tag to
> > specify the additional bundle to use, if different than the default.
> >
> >
> > -Original Message-
> > From: Riyad Kalla [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, May 26, 2004 11:38 AM
> > To: Struts Users Mailing List
> > Subject: Q: Can I have multiple ApplicationResources from the same
> > locale?
> >
> >
> > This may be a RTFM situation, but I didn't want to take a break and try
> > it and
> > then after a hour find out it didn't work so I was hoping (while I was
> > coding) someone could let me know if the following is legal:
> >
> > Situation:
> > I have an ApplicationResources_en.properties file that represents the
> > English
> > locale of my app. This file is getting huge (to say the least) as I've
> > internationalized pretty much all the text in my entire app. I was hoping
> > to
> >
> > break out this file into logical units that collective represented the
> > English locale, for example:
> >
> > ApplicationResources-User_en.properties
> > ApplicationResources-Product_en.properties
> > ApplicationResources-Module_en.properties
> > ApplicationResources-Administrator_en.properties.
> >
> > and move the corresponding key/value strings into the appropriate
> > .properties
> > files. But then I had a question about how my message-resources tag in my
> > struts-config file should change... it currently looks like this:
> > 
> >
> > Thanks for any help you can provide.
> >
> > Best,
> > Riyad
> >
> > -
> > 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]
>
> -
> 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]



RE: Can I have multiple ApplicationResources from the same locale ?

2004-05-26 Thread Mick . Knutson
That is so if the key does not exist, you will get ???bundle.key.attr???
instead of a null string.



-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 11:44 AM
To: Struts Users Mailing List
Subject: Re: Can I have multiple ApplicationResources from the same
locale ?


Ahhh ok, thanks for the info. 

What is null=false for?

On Wednesday 26 May 2004 11:43 am, [EMAIL PROTECTED] wrote:
> 
>  key="BUTTONS_KEY" null="false" />
>
> And then in the use the 'bundle=""' attribute on the bean:write tag to
> specify the additional bundle to use, if different than the default.
>
>
> -Original Message-
> From: Riyad Kalla [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 26, 2004 11:38 AM
> To: Struts Users Mailing List
> Subject: Q: Can I have multiple ApplicationResources from the same
> locale?
>
>
> This may be a RTFM situation, but I didn't want to take a break and try it
> and
> then after a hour find out it didn't work so I was hoping (while I was
> coding) someone could let me know if the following is legal:
>
> Situation:
> I have an ApplicationResources_en.properties file that represents the
> English
> locale of my app. This file is getting huge (to say the least) as I've
> internationalized pretty much all the text in my entire app. I was hoping
> to
>
> break out this file into logical units that collective represented the
> English locale, for example:
>
> ApplicationResources-User_en.properties
> ApplicationResources-Product_en.properties
> ApplicationResources-Module_en.properties
> ApplicationResources-Administrator_en.properties.
>
> and move the corresponding key/value strings into the appropriate
> .properties
> files. But then I had a question about how my message-resources tag in my
> struts-config file should change... it currently looks like this:
> 
>
> Thanks for any help you can provide.
>
> Best,
> Riyad
>
> -
> 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]

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



Re: Can I have multiple ApplicationResources from the same locale ?

2004-05-26 Thread Riyad Kalla
Ahhh ok, thanks for the info. 

What is null=false for?

On Wednesday 26 May 2004 11:43 am, [EMAIL PROTECTED] wrote:
> 
>  key="BUTTONS_KEY" null="false" />
>
> And then in the use the 'bundle=""' attribute on the bean:write tag to
> specify the additional bundle to use, if different than the default.
>
>
> -Original Message-
> From: Riyad Kalla [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 26, 2004 11:38 AM
> To: Struts Users Mailing List
> Subject: Q: Can I have multiple ApplicationResources from the same
> locale?
>
>
> This may be a RTFM situation, but I didn't want to take a break and try it
> and
> then after a hour find out it didn't work so I was hoping (while I was
> coding) someone could let me know if the following is legal:
>
> Situation:
> I have an ApplicationResources_en.properties file that represents the
> English
> locale of my app. This file is getting huge (to say the least) as I've
> internationalized pretty much all the text in my entire app. I was hoping
> to
>
> break out this file into logical units that collective represented the
> English locale, for example:
>
> ApplicationResources-User_en.properties
> ApplicationResources-Product_en.properties
> ApplicationResources-Module_en.properties
> ApplicationResources-Administrator_en.properties.
>
> and move the corresponding key/value strings into the appropriate
> .properties
> files. But then I had a question about how my message-resources tag in my
> struts-config file should change... it currently looks like this:
> 
>
> Thanks for any help you can provide.
>
> Best,
> Riyad
>
> -
> 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]



RE: Can I have multiple ApplicationResources from the same locale ?

2004-05-26 Thread Mick . Knutson



And then in the use the 'bundle=""' attribute on the bean:write tag to
specify the additional bundle to use, if different than the default.


-Original Message-
From: Riyad Kalla [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 11:38 AM
To: Struts Users Mailing List
Subject: Q: Can I have multiple ApplicationResources from the same
locale?


This may be a RTFM situation, but I didn't want to take a break and try it
and 
then after a hour find out it didn't work so I was hoping (while I was 
coding) someone could let me know if the following is legal:

Situation:
I have an ApplicationResources_en.properties file that represents the
English 
locale of my app. This file is getting huge (to say the least) as I've 
internationalized pretty much all the text in my entire app. I was hoping to

break out this file into logical units that collective represented the 
English locale, for example:

ApplicationResources-User_en.properties
ApplicationResources-Product_en.properties
ApplicationResources-Module_en.properties
ApplicationResources-Administrator_en.properties.

and move the corresponding key/value strings into the appropriate
.properties 
files. But then I had a question about how my message-resources tag in my 
struts-config file should change... it currently looks like this:


Thanks for any help you can provide.

Best,
Riyad

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