[richfaces-issues] [JBoss JIRA] (RF-2494) Multiple clicks on a particular Tree node doesn't fire nodeSelectListener method for each click (only for the first time)

Richard Persen (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 5 11:20:41 EST 2011


    [ https://issues.jboss.org/browse/RF-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648084#comment-12648084 ] 

Richard Persen commented on RF-2494:
------------------------------------

Has this been fixed in newer version of Richfaces? I struggled for quite a while before I found this bug-report. It is not very intuitive that a nodeSelectListener should not be executed every time a node is selected (even though the same node is selected twice).

If this won't be fixed, could you please point to some good guides where nodeSelectListener + onclick gives the desired behaviour?

Thanks.
                
> Multiple clicks on a particular Tree node doesn't fire nodeSelectListener method for each click (only for the first time)
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-2494
>                 URL: https://issues.jboss.org/browse/RF-2494
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.1.4
>            Reporter: Mareks Malnacs
>
> Here is the problem:
> -construct Tree with recursiveTreeNodesAdaptor, switchType="client" and ajaxSubmitSelection="true"
> -add method binding to nodeSelectListener so that every click on tree node executes some business method (for tests - simple log message displaying clicked node id for example)
> Result:
> -tree is rendered fine, clicks on different node elements in a tree executes specified nodeSelectListener method also fine, BUT when user clicks same tree node twice, nodeSelectListener method is not fired - to get it fired for this particular node again You have to click some other node in a tree and then click back on desired one. Shouldn't  nodeSelectListener be fired on each click on a tree node even though user is clicking on the same node multiple times ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list