[
https://issues.apache.org/jira/browse/MYFACES-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799041#action_12799041
]
Leonardo Uribe commented on MYFACES-2435:
-----------------------------------------
Suppose this case:
<h:dataTable value="#{company.departments}" var="dept">
<h:column>
<f:facet name="header">
<h:outputText value="#{dept.name}"/>
</f:facet>
<h:outputText value="#{dept.name}"/>
</h:column>
</h:dataTable>
In theory since there only one child, the facet must not wrap it in UIPanel,
because it is not necessary and this is expected from 1.2. This was notice
running
org.apache.myfaces.view.facelets.tag.jsf.html.DataTableTestCase.
It is optional let this case for jsp, because f:metadata does not exists there.
> f:facet can have more than one child
> ------------------------------------
>
> Key: MYFACES-2435
> URL: https://issues.apache.org/jira/browse/MYFACES-2435
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Jakob Korherr
> Attachments: myfaces-2435.patch
>
>
> MIchael Kurz tested Mojarra and found out that <f:facet> now can have more
> than one child. If so, the children will automaticall be put in a UIPanel to
> serve facet requirements.
> However, this improvement is not mentioned in the spec, filed spec issue:
> https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=677
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.