2017-06-25 16:14 GMT+02:00 i...@flyingfischer.ch <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-properties files: in debug mode I can see, the correct values > being retrieved. > > Even with hardcoded, simple values without i18n: messages will not be > displayed, if the application is not running on the default locale. > > > <script type="text/javascript"> > notif({ > msg: "<s:property value="jsmsg.msg" escapeHtml="false" />", > type: "<s:property value="jsmsg.type" />", > position: "<s:property value="jsmsg.position" />", > opacity: <s:property value="jsmsg.opacity" />, > timeout: <s:property value="jsmsg.timeout" />, > multiline: <s:property value="jsmsg.multiline" />, > autohide: <s:property value="jsmsg.autohide" />, > clickable: <s:property value="jsmsg.clickable" /> > }); > </script> > > I am puzzled, because again: it is hard to imagine, this to be struts > related. But there is no such issue in 2.5.10.1.
How do you switch the locale? What default locale you are running on? How did you name your properties files? Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org