Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
15. May 2008, 21:37 CET | Link

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>

1 Reply:
15. May 2008, 22:17 CET | Link

post on the richfaces forum !