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

JSF composition component is not loaded if its root tag is not <html>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.3.0.M2
    • 3.3.0.M2
    • jsf
    • None

      EXECUTE: Create JSF 2 KickStart project
      EXECUTE: Open <project>/WebContent/resources/demo/input.xhtml
      EXECUTE: Ctrl+Space on <h:outputText value="#

      {cc.attrs.|}" />
      ASSERT: There is a list of attributes in the proposal window.
      EXECUTE: Replace the root tag <html>:
      <html xmlns="http://www.w3.org/1999/xhtml"
      	  xmlns:h="http://java.sun.com/jsf/html"
      	  xmlns:composite="http://java.sun.com/jsf/composite">
      ...
      </html>
      

      by
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                      xmlns:ui="http://java.sun.com/jsf/facelets"
                      xmlns:h="http://java.sun.com/jsf/html"
                      xmlns:composite="http://java.sun.com/jsf/composite">
      ...
      </ui:composition>
      

      EXECUTE: Save the file.
      EXECUTE: Ctrl+Space on <h:outputText value="#{cc.attrs.|}

      " />
      FAILURE: No proposals.
      ASSERT: There is a list of attributes in the proposal window.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: