We are able to access resource bundle key/value in jsp or js code (under <script></script> tag) like bellow
But now we have a requirement in which we have to access bundle key/value in INCLUDED js file.
we are including js file like bellow
<webuijsf:script url="resources/reports.js" />
But we have some external js file which we include in our jsp page, in that also there are some Error messages, we also want to access that from resource bundle.
So how can we access bundle from external JS file?
Thanks in advance
posted 4 years ago
Roby, the same answer gived by Tim on this post is valid to this one. In resume, JS files runs on client side.