> I did some more tests: > > Test 1: in action hardcoded messages: > > jsmsg = new JSMessage("Show up!"); > > On default locale: message shows up. > Any other locale: No show up > > => Problem persists > > Test 2: in JSP hardcoded message > > <script type="text/javascript"> > notif({ > msg: "Show up!", > type: "info", > position: "center", > opacity: 0.9, > timeout: 5000, > multiline: true, > autohide: true, > clickable: false > }); > </script> > > The show up works on all locales. => definitively not a JS issue. > > Conclusion > There seems to be an EL problem while not on default locale? I suspect > the properties not to be replaced by the corresponding values. > > <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> > > Could this be an approach to further debug the issue in 2.5.11? > > Thanks! > Markus >
Very strange: values do get replaced: <script type="text/javascript"> notif({ msg: "Ungültige Angaben!", type: "info", position: "center", opacity: 0,9, timeout: 5000, multiline: true, autohide: true, clickable: false }); </script> But JS box will still not show up, when not on default locale... ...any other ideas, what could trigger this difference between 2.5.10.1 and 2.5.11? Thanks! Markus --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org