Hello,
we are using JSF1.1, JSTL, webui, SUN-RI
I have a
jsp page which is using JSTL , In which we include external JS files like bellow
<webuijsf:script url="resources/reports.js" />
I want to access managed bean propeties in this external js file.
Suppose i have a managed bean named Reports in this i have a properties like noOfReports. I want to access this in my reports.js file.
Although we are able to access the same properties in js code(under <script> </script> tag) of same jsp page like bellow.
var numberOfCoverage1= '${Reports.noOfReports}'
But we have a requirement to access the managed bean properties in included js file.
Thanks in advance.