I am trying to archive very simple things but I'm not getting the expected result from the below script. I don't know what im going wrong.
<script>
var APP = "APPR";// in properties file APPR = Approved
var message = "#{props["APP"]}";// JSF EL expression with resourcebundle
alert(message)// Want to print "Approved" but its printing ??APP???
</script>
Im using JSF resourcebundle and javascript.