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:08:55 GMT
2017-09-22 15:57 GMT+02:00 Klaus Tachtler <klaus@tachtler.net>:
> I use it to fill up a bean with the string "unkonwn" or "unbekannt" to show
> it later on the website.
>
> So, what I want to do is, get a string in different languages from the
> Resource-Bundle from the ActionContext.

Why don't you use "getText(key)" directly in your action?


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