nauke. wrote:
Hi all,
Is there a way to access values in ApplicationResources.properties in
Javascript functions?
I've found a way where I can just pass a value from the app resource file as
a parameter, but discovered that I return alerts with different messages
based on some criteria.
Any ideas?
Thanks heaps
Try this
<script>
var someVar = '<bean:message key="app.mykey" bundle="MESSAGE">';
</script>
hope this will serve the purpose.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]