-
1. Re: why the nodeSelectListener didn't execute when I click the s
mnott Dec 19, 2009 4:41 AM (in response to hanxi001)Did you ever get an answer? It works fine for me in JBoss, but in Tomcat 5.5, it doesn't fire the method.
Thanks!
M
-
2. Re: why the nodeSelectListener didn't execute when I click the s
tri77ion Feb 2, 2010 4:33 PM (in response to mnott)I would like to know the answer to this as well. Is is possible and/or can/should this be supported (repeated clicks keep firing the nodeSelectListener)
Ive got a tree (A) with a dependent tree (B) which has a dependent menu (C). If I click a node on A, then a node-dependent B appears. If I click a node on B then a node-dependent menu C appears. I'd like to be able to reselect my node on A in order to reset the state of B/C. I really don't want to have to add a separate button to refresh the state of the node in A.
-
3. Re: why the nodeSelectListener didn't execute when I click the s
nbelaevski Feb 3, 2010 6:43 AM (in response to tri77ion)You can add a4j:support for "onclick". -
4. Re: why the nodeSelectListener didn't execute when I click the s
tri77ion Feb 3, 2010 12:05 PM (in response to nbelaevski)Thanks for the info. I also noticed this JIRA ticket and have commented there: https://jira.jboss.org/jira/browse/RF-2494. -
5. Re: why the nodeSelectListener didn't execute when I click the s
tri77ion Feb 3, 2010 2:29 PM (in response to tri77ion)FYI, the onclick workaround worked fairly well. Here's what I did:
- removed the nodeSelectListener and reRender attributes from the rich:tree
- added an a4j:support tag
- Adjusted my backing bean actionListener code to take an ActionEvent instead of NodeSelectedEvent and to use treeState.getSelectedNode() instead of (HtmlTree)event.getComponent().getRowKey()
I'd still like to see first class support for this behaviour though .