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

Actually auto-complete resource bundle keys for org.jboss.seam.international.messages (and resource bundles in faces-confg)

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.CR1
    • None
    • None
    • None

      Max tells my that, today, when a resource bundle is defined using f:loadBundle, we can actually look inside the .properties file and find the keys.

      Well, thats awesome, except that f:loadBundle is semi-deprecated, and the following approaches are preferred:

      • For Seam projects, use the built-in component, and do # {messages.foo}

        to get "foo" from messages_xx.properties

      • For any JSF project, look at resource bundles defined in faces-config.xml

      By the way, at present it looks like the resource bundle stuff is a bit confused about the classpath, and thinks that if the bundle.properties file is in src/model, then the name of it is "model.bundle", when in fact it is just "bundle". This is a bug.

            scabanovich Viacheslav Kabanovich (Inactive)
            gavin.king Gavin King (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: