i have a javascript function that was defined in the xhtml page, and i was able to use EL inside it, now when i moved the function to an external JS file, i am not able to use EL like:
#{request.contextPath}
#{myBackingBean.myProperty}
so, i was wondering how to accomplish something like that in external JS?