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

        Ken Fyten made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Priority P1
        Assignee Mark Collette [ mark.collette ]
        Mark Collette made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7Beta1 [ 10121 ]
        Resolution Fixed [ 1 ]
        Hide
        Mark Collette added a comment -

        Brad has fixed the application.

        Show
        Mark Collette added a comment - Brad has fixed the application.
        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.
        Ken Fyten made changes -
        Assignee Priority P1
        Ken Fyten made changes -
        Assignee Mark Collette [ mark.collette ]
        Tyler Johnson made changes -
        Field Original Value New Value
        Support Case References https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4538
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #15036 Thu Oct 25 17:29:39 MDT 2007 brad.kroeger ICE-1969 Added facelets to webmail application.

        emailEditViewPanel.jspx - had to remove header facet tags, created ICE-2263 for this issue.

        webmailSplashPanel.jspx - had to remove f:verbatim tags, created ICE-2262 for this issue.

        faces-config.xml - removed <from-view-id> entry as per ICE-1957.

        webmail.jspx - All of the jsp:directive.include references have been replaced with ui:include.
        Files Changed
        Commit graph MODIFY /projects/webmail/trunk/webmail/web/webmail.jspx
        Commit graph MODIFY /projects/webmail/trunk/webmail/web/WEB-INF/faces-config.xml
        Commit graph MODIFY /projects/webmail/trunk/webmail/web/WEB-INF/web.xml
        Commit graph MODIFY /projects/webmail/trunk/webmail/web/inc/contentPanels/emailEditViewPanel.jspx
        Commit graph MODIFY /projects/webmail/trunk/webmail/build.xml
        Commit graph MODIFY /projects/webmail/trunk/webmail/web/inc/contentPanels/webmailSplashPanel.jspx
        Commit graph MODIFY /projects/webmail/trunk/webmail/web/login.jspx
        Brad Kroeger created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: