struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: @Inject Locale
Date Wed, 23 Oct 2013 04:29:08 GMT
2013/10/23 Ken McWilliams <ken.mcwilliams@gmail.com>:
> An injectable locale sounds useful at the action level. I could see some
> use in it in framework components, possibly results might like it... As you
> point out since it is unlikely to be currently used it might to interesting
> if it is added to the guice migration's desirable feature list. Where most
> of the injectable elements would probably just come out of ActionContext
> (such as the locale). So if someone did use it there is a pretty easy and
> obvious fix.

To obtain Locale, LocaleProvider interface should be used instead. I
think it was leftover of WebWork. I will see if anybody will complain
;-)


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