Hi Darryl,
I tried changing the name attribute of f:facet in the datatable and it did not work.
After some googling I found the below link:
http://www.jsftoolbox.com/documentation/help/12-TagReference/core/f_facet.html So, perhaps it depends where f:facet are declared, as you rightly pointed out if it is used by tree nodes then the name does not matter but when used inside column may be it matters.
I also found the below code from a site
<blockquote>
code:
<pre name="code" class="core">
<t:tree2 id="clientTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t">
<f:facet name="foo-folder">
<h:panelGroup>
<f:facet name="expand">
<t:graphicImage value="images/yellow-folder-open.png" rendered="#{t.nodeExpanded}" border="0"/>
</f:facet>
<f:facet name="collapse">
<t:graphicImage value="images/yellow-folder-closed.png" rendered="#{!t.nodeExpanded}" border="0"/>
</f:facet>
<h:outputText value="#{node.description}" styleClass="nodeFolder"/>
<h:outputText value=" (#{node.childCount})" styleClass="childCount" rendered="#{!empty node.children}"/>
</h:panelGroup>
</f:facet>
</t:tree2>
</pre>
</blockquote>
In the above case appropriate images are loaded depending on whether tree is expanded or collapsed, hence my guess is that "expand" and "collapse" are some reserve words while using facet inside tree.
Please let me know if I have misunderstood anything.
Regards,
Joshua