Hi Łukasz,is it possible to use getText("global.unkonwn") with the ActionContext.getContext().getLocale() like
- getText("global.unknown", ActionContext.getContext().getLocale());Thank you! Klaus.
2017-09-22 15:57 GMT+02:00 Klaus Tachtler <[email protected]>: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: [email protected] For additional commands, e-mail: [email protected]
-- ------------------------------------------ e-Mail : [email protected] Homepage: http://www.tachtler.net DokuWiki: http://www.dokuwiki.tachtler.net ------------------------------------------
bin94VsUsQkZQ.bin
Description: Öffentlicher PGP-Schlüssel
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

