If your JavaScript is in a JSP, yes - just use <fmt:message key="key.name"/>. If it's in a .js file, no. However, you can have your JavaScript served up by a JSP if you really need this functionality. Just use the following at the top of the page:
<%@ page language="java" contentType="text/javascript" %> Matt On 6/20/07, adriel manalansan <[EMAIL PROTECTED]> wrote:
Hello to everyone, can I output a message from ApplicationResources.properties in my javascript alert()? How? I am using appfuse 1.9.4 webwork. Thanks in advance. God bless u. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
