> 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
>
Found the root cause:

The property opacity expects a value between 0 and 1, separated by DOT.

The object JSMessage uses

private BigDecimal opacity = new BigDecimal("0.9");

Now EL brings replaces

<s:property value="jsmsg.opacity" />

in locale en with 0.9 and in all other locales with 0,9 (note the COMMA).

This is related to

https://issues.apache.org/jira/browse/WW-3650

Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to