]
Alexey Kazakov updated JBIDE-5388:
----------------------------------
Fix Version/s: 4.0.0.Beta1
(was: 4.0.0.Alpha2)
Implement openOn for Jsf 2 resources declaration
------------------------------------------------
Key: JBIDE-5388
URL:
https://issues.jboss.org/browse/JBIDE-5388
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsp/jsf/xml source editing
Affects Versions: 3.1.0.CR1
Reporter: Maxim Areshkau
Assignee: Daniel Azarov
Labels: jsf2
Fix For: 4.0.0.Beta1
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:
{code}
<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>
{code}
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: