facet tag is in both myfaces_core.tld and myfaces_html.tld
----------------------------------------------------------
Key: MYFACES-1966
URL: https://issues.apache.org/jira/browse/MYFACES-1966
Project: MyFaces Core
Issue Type: Bug
Components: JSR-252
Affects Versions: 1.2.5-SNAPSHOT
Environment: tomcat-6.0.16
java 1.6
MyFaces 1.2.5-SNAPSHOT
Reporter: Paul Rivera
Priority: Minor
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.