This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select listener not getting called

 
Shane Humes
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic