• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Select listener not getting called

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I cannot seem to get my tree to call my select listener method. I have tried several different ways to get my listener method called, but none have been successful. The code snippets of what I have tried are below:

<h:form>
<rich:tree switchType="client" value="#{mappingBean.nodes}" var="node" nodeSelectListener="#{stateAdvisor.processSelection}" >
</rich:tree>
</h:form>

or

<h:form>
<rich:tree switchType="client" value="#{mappingBean.nodes}" var="node">
<rich:nodeSelectListener type="beans.listener.NodeSelectedListenerBean" />
</rich:tree>
</h:form>

or

<h:form>
<rich:tree switchType="client" value="#{mappingBean.nodes}" var="node" adviseNodeSelected="#{stateAdvisor.processSelection}">
</rich:tree>
</h:form>

or

<h:form>
<rich:tree switchType="client" value="#{mappingBean.nodes}" var="node" stateAdvisor="#{MyTreeStateAdvisor}">
</rich:tree>
</h:form>

Am I missing something?

Thanks in advance for your help.

Shane
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic