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

Eirik Rosvold Larsen (JIRA) jira-events at lists.jboss.org
Wed Jan 14 12:38:04 EST 2009


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

Eirik Rosvold Larsen commented on RF-2494:
------------------------------------------

Nick: I disagree. Either the name of the attribute should be something like nodeSelectionChangedListener, or it should behave as the reporter expects. Also, your reference to use the onclick attribute is an insufficient solution as it refers to a script expression and not to an EL-expression.

I think both nodeSelectionChangedListener and nodeSelectListener would be useful.

> 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://jira.jboss.org/jira/browse/RF-2494
>             Project: RichFaces
>          Issue Type: Bug
>    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 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