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

Content assist for ns jsf/facelets is broken on the last line in xhtml file

    XMLWordPrintable

Details

    • Hide

      STEP: Create HTML5 Project
      STEP: Create XHTML Page
      STEP: Insert following code to the page:

      Bar.java
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:f="http://java.sun.com/jsf/core"
            >
      	<ui:
      

      ASSERT: Code assist for <ui: displays proposals for the namespace "http://java.sun.com/jsf/facelets"
      FAIL: It displays

      Blank Facelet Page
      Common Facelet Page
      Form Facelet Page
      JSF Composite Component
      
      Show
      STEP: Create HTML5 Project STEP: Create XHTML Page STEP: Insert following code to the page: Bar.java <html xmlns= "http: //www.w3.org/1999/xhtml" xmlns:ui= "http: //java.sun.com/jsf/facelets" xmlns:h= "http: //java.sun.com/jsf/html" xmlns:f= "http: //java.sun.com/jsf/core" > <ui: ASSERT: Code assist for <ui: displays proposals for the namespace "http://java.sun.com/jsf/facelets" FAIL: It displays Blank Facelet Page Common Facelet Page Form Facelet Page JSF Composite Component
    • Workaround Exists
    • Hide

      Content assist displays proper proposals when you are not on the last line in the file.

      Show
      Content assist displays proper proposals when you are not on the last line in the file.

    Description

      Content assist for xmlns:ui="http://java.sun.com/jsf/facelets" doesn't work on last line in xhtml file.

      If you are on last line in file, content assist displays proposals for page templates ("Blank Facelet Page", "Common Facelet Page", "Form Facelet Page" and "JSF Composite Component").

      Attachments

        1. last line.jpg
          last line.jpg
          166 kB
        2. workaround.jpg
          workaround.jpg
          155 kB

        Issue Links

          Activity

            People

              vrubezhny Victor Rubezhny (Inactive)
              rrabara Radoslav Rábara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: