struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Localized bean
Date Tue, 14 Mar 2017 14:27:40 GMT
2017-03-14 15:24 GMT+01:00 Greg Huber <gregh3269@gmail.com>:
> Initial tests look good.
>
> LocalizedTextUtil.java is now the only bespoke mod I do (to check the
> default ApplicationResources.properties first and then do the package nifty
> thing).
>
> I have looked in
>
> Struts-JDK7-pull-request/core/src/main/java/com/opensymphony/xwork2/util
>
> but seems not to be there has the package location changed?
>
> I can see it here though https://github.com/lukaszlenart/struts/tree......

There is no more static LocalizedTextUtil, this class it's a bean
right now called DefaultLocalizedTextProvider and implements
LocalizedTextProvider interface. You can gain access to it via @Inject
or via container.getInstance(LocalizedTextProvider.class)


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message