I have rich:tree on my facelet. I can select only one node. When I click on other node then nothing happens. In log I found this :
ERROR STDERR - TreeRendererBase.encodeAjaxChildren()[1]
However when i modify the tree model i.e. add child node then I can select other node, but still only once, and then nothing else.
Similar problem has been submitted here : http://jira.jboss.org/jira/browse/RF-1134
but there is no solution provided.
Any ideas what is wrong ?
<h:form> <a4j:outputPanel id="trees"> <a4j:status startText="Request in progress..." stopText="Request finished"/> <rich:tree value="#{systemRoot}" var="item" switchType="ajax" ignoreDupResponses="true" preserveDataInRequest="true" nodeSelectListener="#{categoryManager.processSelection}" ajaxSubmitSelection="true"> <rich:treeNode>#{item.name}</rich:treeNode> </rich:tree> </a4j:outputPanel> <h:inputText value="#{categoryName}"/> <a4j:commandButton value="#{messages.add}" action="addCategory" reRender="trees"/> </h:form>
post on the richfaces forum !