<h:form id="Commentary">
<rich:tree id="CmtTree" var="citem" value="#{leadReport.lead.commentaryUiTree}" switchType="client"
nodeFace="#{citem.nodeFace}" adviseNodeOpened="#{leadReport.adviseNodeOpened}">
<rich:treeNode id="top" type="top">
<h:outputText value="#{citem.rootData}"/>
</rich:treeNode>
<rich:treeNode id="c" type="c" nodeClass="C-wrappingTreeNode">
<trak:comment id="cmtNode" lead="#{leadReport.lead}" cmt="#{citem}" reRender="Commentary:CmtTree"/>
</rich:treeNode>
</rich:tree>
</h:form>
<h:form id="Sequence">
<rich:tree id="SeqTree" var="sitem" value="#{leadReport.lead.sequenceUiTree}" switchType="client"
nodeFace="#{sitem.editable ? 'es' : 's'}" adviseNodeOpened="#{leadReport.adviseNodeOpened}">
<rich:treeNode id="s" type="s" nodeClass="C-wrappingTreeNode">
<trak:sequence id="seqNode" lead="#{leadReport.lead}" seq="#{sitem}" reRender="Sequence:SeqTree"/>
</rich:treeNode>
<rich:treeNode id="es" type="es" nodeClass="C-wrappingTreeNode">
<trak:sequenceEditable id="seqEdNode" lead="#{leadReport.lead}" seq="#{sitem}" reRender="Sequence:SeqTree"/>
</rich:treeNode>
</rich:tree>
</h:form>
@elvariable id="citem" type="genomix.tractor.Lead.CommentUi"-> refers to innier class CommentUi. IDEA does completion to fill in the "type" attribute, but then it does not allow navigation to CommentUi. All of the preceding terms can be navigated to, but CommentUi is dead.