Hi,

When a button is clicked I would like to call a JS method that takes a message
parameter that is to be localized.

    <s:submit onclick="return checkDelete('Hello World!');" />

What I would like to do is something like this, but this doesn't work:

    <s:submit onclick="return checkDelete('<fmt:message key="MY_KEY"/>');" />

What is best practice for doing things like this?

/Roland


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to