[richfaces-issues] [JBoss JIRA] Created: (RF-7120) Can only expand the first node in the tree when using server side toggeling, Can't expand when using client side or ajax toggeling

Tom Serru (JIRA) jira-events at lists.jboss.org
Tue May 12 13:38:49 EDT 2009


Can only expand the first node in the tree when using server side toggeling, Can't expand when using client side or ajax toggeling
----------------------------------------------------------------------------------------------------------------------------------

                 Key: RF-7120
                 URL: https://jira.jboss.org/jira/browse/RF-7120
             Project: RichFaces
          Issue Type: Bug
          Components: component-tree
    Affects Versions: 3.3.0
         Environment: JBoss 4.2.3.GA
JSF 1.2_07 & JSF 1.2_12
Facelets
FF & IE 7
            Reporter: Tom Serru


When using the tree component in server side toggeling, only the first node of each branch can be expanded.
When using the tree component in client side and ajax toggeling, no nodes can be expanded.
If the page is loaded i get following error in firebug:

parseJSON
? in framework.pack.js at 6457(Document , "link")framework.pack.js (regel 6458)
? in framework.pack.js at 6462()framework.pack.js (regel 6462)
[Break on this error] try{E=B.selectNodes('.//*[local-name()="'+A+'"]')

When clicking i get following error in firebug:

Tree.Item.findComponent(A) is undefined
fireExpansionEvent()(a#oneaTestForm:j_id1:Node__0_:1::j_id2:handle index.faces#)ui.pack.js (regel 346)
onclick(click clientX=17, clientY=35)

This is my jsf code:

<rich:tree value="#{Test.tree}" var="node">
	<rich:treeNode>
		<h:outputText value="#{node}" />
	</rich:treeNode>
</rich:tree>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list