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

Resource bundle varible not getting resolved in xhtml editor

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        1. jsf-from-blank-archetype.zip
          19 kB
        2. jbosstools-diagnostics-20111208220820.zip
          126 kB
        3. .project
          2 kB
        4. .project
          2 kB
        5. .project
          2 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: