Re: Javascript + localized messages

2001-01-17 Thread Pierre Métras
Hi Denis, > I'm using the i18n support in Struts in my applications, and am trying to > localize my client-side Javascript validation messages using > . I've tried > >var msg=''; >alert(msg); > > and > >alert(); > > and many other combinations, none of which worked for me. Has anyon

RE: Javascript + localized messages

2001-01-17 Thread Denis Hanson
EMAIL PROTECTED] Subject: Re: Javascript + localized messages Hi Denis, you have HTML-comments around the JavaScript code, right? So just delete them and it will work. It is not a Struts problem but a JSP one. If you want to support old browsers and include those HTML comments you must use JSP S

Re: Javascript + localized messages

2001-01-17 Thread Till Nagel
Hi Denis, you have HTML-comments around the JavaScript code, right? So just delete them and it will work. It is not a Struts problem but a JSP one. If you want to support old browsers and include those HTML comments you must use JSP Script to print it. <% out.println("