Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9396

EL references are not collected for Text regions of XML files

XMLWordPrintable

      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)

            vrubezhny Victor Rubezhny (Inactive)
            vrubezhny Victor Rubezhny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: