struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: S2 overriding a Localization property
Date Thu, 23 Sep 2010 21:05:26 GMT
Provide a more-specific location--so as long as they can create a package-
or class-level properties file that's more specific there's no issue. Are
you looking for a different mechanism than that?

Dave

On Thu, Sep 23, 2010 at 5:02 PM, Greg Lindholm <greg.lindholm@gmail.com>wrote:

> How do you override a Localization property that is bundled in a
> ActionClass.properties file?
>
> I'm planing on bundling up some common Action classes into a jar to be
> used by several projects. I plan on putting their properties in
> ActionClass.properties files that get bundled into the jar.
>
> I would like the individual projects to be able to override the
> supplied properties if they need to. I'm looking at the "Resource
> Bundle Search Order"  and it appears that it will in the
> ActionClass.properties file and if it finds the property it will stop
> looking any further. So how do you override?
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message