[richfaces-issues] [JBoss JIRA] Commented: (RF-1252) rich:tree nodeSelectListener is invoked twice while used with a4j:support onselected

Sergey Halipov (JIRA) jira-events at lists.jboss.org
Fri Nov 16 12:45:31 EST 2007


    [ http://jira.jboss.com/jira/browse/RF-1252?page=comments#action_12387996 ] 
            
Sergey Halipov commented on RF-1252:
------------------------------------

Hi, Yurii!

The bug is reproducible sometimes upon two conditions: ajaxSubmitSelection attribute is set to "true" and a4j:support added for event "onselected". As you know the bug is not always reproducible so I don't have any ideas about its reasons yet...

All is OK when application send only one ajax request: if ajaxSubmitSelection is "false" or we remove a4j:support from tree. Tell me, please, if one of these conditions helps to solve problem.

> rich:tree nodeSelectListener is invoked twice while used with a4j:support onselected
> ------------------------------------------------------------------------------------
>
>                 Key: RF-1252
>                 URL: http://jira.jboss.com/jira/browse/RF-1252
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>         Environment: JBoss 4.2.0 GA
> JSF 1.2
> Facelets
> Mozilla Firefox as browser
>            Reporter: Yurii Kartsev
>         Assigned To: Sergey Halipov
>             Fix For: 3.2.0
>
>
> Having rich:tree with nodeSelectListener specified, and a4j:support for event "onselected", without any actionListeners, my nodeSelectListener is invoked twice when I click on a tree node. When I remove a4j:support, everything works fine and nodeSelectListener is invoked once while I click on a node.
> Notice: I've tested the situation for some time and found out that nodeSelectListener is not always invoked twice. I can't find any regularity(rule), but it definitely can be invoked as twice, as once. Sometimes when I click on a node it's invoked once, sometimes - twice. But twice - is the majority.

-- 
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