ICEfaces
  1. ICEfaces
  2. ICE-2263

Facelets throwing exception with f:facet component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7Beta1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP Professional
      JBoss 4.0.5.GA

      Description

      I added facelets to the webmail application as per ICE-1969 - located at ossrepo\projects\webmail. In the application, there are two instances of <f:facet name="header"></f:facet>. After adding facelets to the webmail application it threw the following exception:

      ERROR [D2DFaceletViewHandler] Problem in renderResponse: /inc/contentPanels/emailEditViewPanel.jspx @65,48 <f:facet> Facet Tag can only have one child UIComponent

      The workaround is to remove the <f:facet name="header"></f:facet> tags.

        Activity

        Hide
        Mark Collette added a comment -

        I'm not sure that there's anything for me to fix. Facelets wants one child inside of an f:facet. Not zero, and not more than one. That's how the JSF spec defines f:facet. Applications should be written accordingly.

        Show
        Mark Collette added a comment - I'm not sure that there's anything for me to fix. Facelets wants one child inside of an f:facet. Not zero, and not more than one. That's how the JSF spec defines f:facet. Applications should be written accordingly.
        Hide
        Mark Collette added a comment -

        Brad has fixed the application.

        Show
        Mark Collette added a comment - Brad has fixed the application.

          People

          • Assignee:
            Unassigned
            Reporter:
            Brad Kroeger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: