Description
MyFaces will let you do this (same ids, renders two trees):
<t:tree id="tree" value="#
{treeModel}"
styleClass="tree"
nodeClass="treenode"
selectedNodeClass="treenodeSelected"
expandRoot="true">
</t:tree>
<h:outputText id="tree" value="This text will not be rendered" />
See my comments in http://issues.apache.org/jira/browse/MYFACES-1020 for an explanation.