Re: Struts 2.5.11 test build is ready

2017-06-25 Thread Greg Huber
If you know the location of the messages you can just use : ResourceBundle.getBundle("ApplicationResources", locale); Which would be faster than using the LocalizedTextUtil which searches the hierarchy etc. On 25 June 2017 at 07:07, i...@flyingfischer.ch wrote: > I get stuck with the refactor

Re: Struts 2.5.11 test build is ready

2017-06-25 Thread i...@flyingfischer.ch
Thanks! Seems to do the job! Markus Am 25.06.2017 um 11:21 schrieb Greg Huber: > If you know the location of the messages you can just use : > > ResourceBundle.getBundle("ApplicationResources", locale); > > Which would be faster than using the LocalizedTextUtil which searches the > hierarchy etc

Struts 2.5.11 not serving iclass icons

2017-06-25 Thread i...@flyingfischer.ch
I detected a strange issue. The problem is not present in 2.5.10.1 but only in 2.5.11: In jsp: This will not show up as icon, but as kind of scrambled text. Using struts2-tiles-plugin. Hard to imagine to be struts related, but could this still be possibly related to any of the recent changes?

Struts 2.5.11: js based messages not showing up, when chanching default locale

2017-06-25 Thread i...@flyingfischer.ch
Another issue, since 2.5.11: Javascript boxed messages display, if the language is the default language (en). As soon as switching the application to another locale (e.g. de), js-box messages do not display anymore... ...this IS NOT related to retrieving the values from the corresponding language

Re: Struts 2.5.11 test build is ready

2017-06-25 Thread Lukasz Lenart
2017-06-25 8:07 GMT+02:00 i...@flyingfischer.ch : > I get stuck with the refactored LocalizedTextUtil: > > We had a change in 2.5.2 which disallowed the use of getText(String key) > in classes that cannot extend ActionSupport. > > I did work around with a custom utility class that did the job, buil