I am running across a possible bug in Mojarra implementation of JSF2.
When resources are declared as dependencies for a component using the @ResourceDependency annotation, EL expressions are parsed correctly in resource CSS files, but it is not parsed in Javascript files. For instance, if you use an EL expression inside a CSS file /META-INF/library/style.css, that is resolved correctly.
But EL expressions are not parsed in a Javascript resource dependency e.g. /META-INF/library/script.js
Let me know what you think...
[Message sent by forum member 'razib']
http://forums.java.net/jive/thread.jspa?messageID=394110