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

EL code completion/validation is not working with JSF resource bundles from dependent project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.0.Alpha1
    • 4.1.0.Alpha1
    • jsf
    • None

      1. Create a JSF 1.2 project: JSFProject
      2. Create a java project: JavaProject
      3. Add the resource bundle to the JavaProject/src/demo/labels.properties
      4. Add some properties to this resource bundle
      5. Add the following reference to the faces-config.xml:

      <application>
        <resource-bundle>
        	<base-name>demo.labels</base-name>
        	<var>labels</var>
        </resource-bundle>
        ...
      </application>
      

      6. Add JavaProject to the classpath of JSFProject
      7. Open any xhtml file in JSFProject
      8. Try Ctrl+Space on

      #{labels.|}

      9. FAILURE: There is no any property available via code assist.
      10. Move the labels.properties to JSFProject source folder.
      11. FAILURE: Code completion for labels is still not working.
      12. Edit and save labels.properties (in JSFProject)
      13. Code completion is working.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: