Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1966

facet tag is in both myfaces_core.tld and myfaces_html.tld

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.5-SNAPSHOT
    • 1.2.5
    • JSR-252
    • None
    • tomcat-6.0.16
      java 1.6
      MyFaces 1.2.5-SNAPSHOT

    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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            paulr1984 Paul Rivera
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: