Details
-
Type: Bug
-
Status: Closed
-
Priority: 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
-
Support Case References:
-
Workaround Exists:Yes
-
Workaround Description:The workaround is to remove the <f:facet name="header"></f:facet> tags.
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.
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.
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.