[richfaces-issues] [JBoss JIRA] Created: (RF-3653) <rich:tree> onexpand and oncollapse script not executed

Alex Peelman (JIRA) jira-events at lists.jboss.org
Fri Jun 6 11:07:21 EDT 2008


<rich:tree> onexpand and oncollapse script not executed
-------------------------------------------------------

                 Key: RF-3653
                 URL: http://jira.jboss.com/jira/browse/RF-3653
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.1
         Environment: JBoss 4.2.2.GA Ubuntu 8.04 JBoss Seam 2.0.1.GA
            Reporter: Alex Peelman


When I click on a node to expand or collapse the script defined in the oncollapse and onexpand attributes is not executed.

<rich:tree switchType="ajax"
			   id="navigator"
	                   value="#{treeNode}" 
			   var="navigationNode"
			   changeExpandListener="#{treeNavigator.changeExpandListener}"			   			   
			   componentState="#{dataComponentState}"
			   ajaxSubmitSelection="true"	
			   ajaxSingle="true"		   
			   oncollapse="loading('sidebar','sidebarStatus')"
			   onexpand="loading('sidebar','sidebarStatus')"
			   oncomplete="doneLoading('sidebar','sidebarStatus')"
			   preserveModel="state"			   
			   nodeFace="#{navigationNode.type}"
			   selectedClass="selectedNode">

I replaced the loading('sidebar','sidebarStatus') part with alert('hello world'); to be sure it wasn't the script that failed.

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

        



More information about the richfaces-issues mailing list