[
http://jira.jboss.com/jira/browse/RF-1252?page=comments#action_12388048 ]
Yurii Kartsev commented on RF-1252:
-----------------------------------
Good afternoon, dear Sergey!
As I've mentioned in description of this bug above - yes, if I remove a4j:support from
tree - everything works fine and there are no "twice" ajax requests.
And just tested right now about to switch ajaxSubmitSelection to false, leaving
a4j:support - woeks well too. The bug is only reproducible(SOMETIMES - that's
strange...) when both of these features are turned on(a4j:support and
ajaxSubmitSelection).
Right now I use ajaxSubmitSelection=true with reRender of tree element. Everything works
perfect. But the bug still exists, isn't it? Or it's not bug?
Thanks for answering, Sergey.
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