struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Tachtler <kl...@tachtler.net>
Subject Question about com.opensymphony.xwork2.util.LocalizedTextUtil
Date Fri, 22 Sep 2017 13:40:07 GMT
Hi,

The
  - com.opensymphony.xwork2.util.LocalizedTextUtil
was deleted with struts2 2.5.13.

But I use following code in my small project and I'm not sure, how to  
replace it:

<code>
...
import com.opensymphony.xwork2.util.LocalizedTextUtil;
...
/*
  * Get the i18n text for "string" from ActionContext.
  */
String i18nString =  
LocalizedTextUtil.findDefaultText("global.unknown",  
ActionContext.getContext().getLocale());
...
</code>

Please can someone give an advise to solve my problem?

Thank you!
Klaus.



-- 

------------------------------------------
e-Mail  : klaus@tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net
------------------------------------------

Mime
View raw message