EL references are not collected for Text regions of XML files
-------------------------------------------------------------
Key: JBIDE-9396
URL:
https://issues.jboss.org/browse/JBIDE-9396
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M2
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Fix For: 3.3.0.M3
EL references are not collected for Text regions of XML files. This fact causes EL-related
features like Hyperlinks not to work on these files for Text regions.
The issue is found by org.jboss.tools.jsf.text.ext.test.JsfTextExtAllTests.testELHyperlink
JUnit Test case (See: JBIDE-9385).
The PageContextFactory doesn't collects EL references for Text Regions of XML files
but it should do this.
Steps to Reproduce:
EXECUTE: Import jsf/tests/org.jboss.tools.jsf.text.ext.test/projects/JSF2CompositeOpenOn
project into workspace
EXECUTE: Open WebContent/WEB-INF/faces-config.xml
EXECUTE: Put cursor inside #{person.name} EL into "name" word and press F3 or
click left mouse button while the Ctrl key is pressed
ASSERT: Person.java file is openned in Java Editor and getName() method name is selected
(FAILED)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira