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

Resource bundle varible not getting resolved in xhtml editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M4
    • jsf, maven
    • None

      I used the maven archetype "jboss-javaee6-webapp-blank-archetype" to create a blank project. I have created a messages.properties file as /src/main/java/com.corejsf/messages.properties. In my faces-config.xml, I have configured :

      <application>
      <resource-bundle>
      <base-name>com.corejsf.messages</base-name>
      <var>msgs</var>
      </resource-bundle>
      </application>

      Now, when I create a new .xhtml page and want the auto-completion to automatically resolve an expression like #{msgs. i.e after typing #{msgs. when I press CTRL+SPACE, I don't see the list of properties defined in the resource bundle. However, CTRL+SPACE stuff works if I refer to any CDI bean.

        1. .project
          2 kB
          Vimal Kansal
        2. .project
          2 kB
          Vimal Kansal
        3. .project
          2 kB
          Vimal Kansal

            scabanovich Viacheslav Kabanovich (Inactive)
            rhn-services-vkansal Vimal Kansal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: