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

Content Assist doesn't shows proposals for JSF Resource Bundles and image file paths

XMLWordPrintable

      The issue is found by JstJspAllTests.testCAForIDTest JUnit TestCase (JBIDE-5844)

      Steps to reproduce:

      EXECUTE: Create JSF Facelets KickStart project
      EXECUTE: Open inputname.xhtml file in JBoss Tools HTML Editor
      EXECUTE: Find <f:loadBundle /> tag, clear its "basename" attribute value, place text cursor in it (<f:loadBundle basename="|" />) and press Ctrl-Space to invoke CA
      ASSERT: There must be "resources" CA proposal amount the other propposals (FAILED)

      EXECUTE: Add "img" folder to WebContent and place some image file into this folder.
      EXECUTE: Insert <h:graphicImage url="" /> into a valid region of inputname.xhtml file in editor, place text cursor into the value of "url" attribute (url="|") and press Ctrl-Space to invoke CA
      ASSERT: There must be "/img" folder CA proposal amount the other propposals (FAILED)

        1. resources.jpg
          resources.jpg
          129 kB
        2. org.jboss.tools.jst.web.kb.patch
          3 kB
        3. images.jpg
          images.jpg
          130 kB

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

                Created:
                Updated:
                Resolved: