-
Feature Request
-
Resolution: Unresolved
-
Major
-
3.1.0.CR1
Add open on for such jsf 2 resource declaration #
{resource['LIBRARY_NAME:RESOURCE_NAME']}".
Test case:
EXECUTE:
1. Create JSF 2 Project with following files in resource folder:
/resources/css/foobar.css
/resources/images/foobar.gif
/resources/javascript/foobar.js
2. Create page.xhtml file:
<html xmlns:h="http://java.sun.com/jsf/html"> <head> <title>Example</title> </head> <body> <!-- implemented --> <h:graphicImage library="images" name="foobar.gif"/> <h:outputStylesheet library="css" name="foobar.css"/> <h:outputScript library="javascript" name="foobar.js" target="head"/> <!-- via EL. Need to be done --> <h:graphicImage value="#{resource['images:foobar.jpg']}"/> <h:outputStylesheet value="#{resource['css:foobar.css']}"/> <h:outputScript value="#{resource['javascript:foobar.js']}"/> </body> </html>
2. Press Ctrl button and click mouse to "foobar.jpg" or "foobar.css" or "foobar.js" in EL part
ASSERT: Selected file should be opened in editor