[jbosstools-issues] [JBoss JIRA] (JBIDE-17518) "Unknown composite component" shown for tags from http://java.sun.com/jsf/composite namespace
Ron Šmeral (JIRA)
issues at jboss.org
Tue Jun 3 08:46:17 EDT 2014
Ron Šmeral created JBIDE-17518:
----------------------------------
Summary: "Unknown composite component" shown for tags from http://java.sun.com/jsf/composite namespace
Key: JBIDE-17518
URL: https://issues.jboss.org/browse/JBIDE-17518
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Environment: JBDS 8.0.0.Beta2
Reporter: Ron Šmeral
For a composite component XHTML in any project with a JSF facet, JBDS shows several _JSF Composite Component Problem_ warnings:
_Unknown composite component "attribute"_
_Unknown composite component "interface"_
_Unknown composite component "implementation"_
...
{code:xml|title=src/main/webapp/resources/foo/input.xhtml}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:composite="http://java.sun.com/jsf/composite">
<head>
<title>Not present in rendered output</title>
</head>
<body>
<composite:interface>
<composite:attribute name="label" />
<composite:attribute name="value" />
<composite:attribute name="name" required="true" />
<composite:attribute name="required" type="java.lang.Boolean" />
<composite:attribute name="readonly" type="java.lang.Boolean" />
</composite:interface>
<composite:implementation>
<tr>
<td><h:outputText id="input#{cc.attrs.name}Label" value="#{cc.attrs.label}: " /> <h:outputText value="*" rendered="#{cc.attrs.required}" /></td>
<td><h:inputText id="input#{cc.attrs.name}Value" value="#{cc.attrs.value}" required="#{cc.attrs.required}" readonly="#{cc.attrs.readonly}" disabled="#{cc.attrs.readonly}" /></td>
<td><h:message id="input#{cc.attrs.name}Message" for="input#{cc.attrs.name}Value" /></td>
</tr>
</composite:implementation>
</body>
</html>
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jbosstools-issues
mailing list