I have a problem with rich: tree. When using toggle Type = "ajax" in the new node is not added to the context menu. My code is as follows.
<rich:tree id="tree" var="node" value="#{controller.nodes}" toggleType="ajax" selectionType="ajax"
selectionChangeListener="#{controller.selectionChanged}" toggleListener="#controller.nodeToggle}" >
<rich:treeNode>
<h:outputText value="#{node.value}" />
</rich:treeNode>
</rich:tree>
<rich:contextMenu mode="ajax" target="tree" >
<rich:menuItem label="Add"
mode="ajax" action="#{controller.add}"/>
</rich:contextMenu>
Thanks
Sergio
That looks like a bug, could you create a new issue? (RichFaces - JBoss Issue Tracker)