struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil
Date Fri, 22 Sep 2017 14:16:28 GMT
2017-09-22 16:12 GMT+02:00 Klaus Tachtler <klaus@tachtler.net>:
> is it possible to use getText("global.unkonwn") with the
> ActionContext.getContext().getLocale() like
> - getText("global.unknown", ActionContext.getContext().getLocale());

You don't have to, I mean "getText(key)" does it for you - it uses the
current Locale defined in ActionContext


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

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


Mime
View raw message