[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9060) JSF composition component is not loaded if its root tag is not <html>

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Jun 2 16:36:59 EDT 2011


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

                 Key: JBIDE-9060
                 URL: https://issues.jboss.org/browse/JBIDE-9060
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JSF
    Affects Versions: 3.3.0.M2
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
            Priority: Critical
             Fix For: 3.3.0.M3


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>:
{code}
<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>
{code}
by

{code}
<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>
{code}
EXECUTE: Save the file.
EXECUTE: Ctrl+Space on <h:outputText value="#{cc.attrs.|}" />
{color:red}FAILURE:{color} No proposals.
{color:green}ASSERT:{color} There is a list of attributes in the proposal window.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list