[
https://jira.jboss.org/jira/browse/RF-2494?page=com.atlassian.jira.plugin...
]
W K commented on RF-2494:
-------------------------
I agree with Eirik. It doesn't make any sense to force the user to use a
nodeSelectListener and onclick event in order to get the desired behaviour. Given, the
name of the attribute I think the default behaviour is wrong and the solution is as Eirik
describes, whereby the user can choose which listener to implement depending on his
requirements.
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
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 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