Details
Description
The following jsf code snippet works in MyFaces 1.2.5-SNAPSHOT:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<html>
<body>
<f:view>
<h:form>
<h:panelGrid columns="2" rules="groups" title="Facet Tag Demo">
<f:facet name="header">
<h:outputText value="asdf"/>
</f:facet>
<h:outputText value="asdf"/>
</h:panelGrid>
<h:panelGrid columns="2" rules="groups" title="Facet Tag Demo">
<h:facet name="header">
<h:outputText value="asdf"/>
</h:facet>
<h:outputText value="asdf"/>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
If you run this in MyFaces 1.2.4, you will get:
JasperException thrown. No tag "facet" defined in tag library imported with prefix "h"
The facet tag seems to have been added in myfaces_html.tld in MyFaces 1.2.5. I think this tag should only be declared in myfaces_core.tld.