2 Replies Latest reply on Jul 11, 2007 2:01 PM by Nick Belaevski

    tree bug?

    vivian hu Novice

      In this simple rich:tree example, my nodeSelectListener is never called.

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
       "http://www.w3.org/TR/REC-html40/strict.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
       xmlns:rich="http://richfaces.ajax4jsf.org/rich">
      <head>
       <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" />
       <f:loadBundle basename="com.vmware.vdi.admin.ui.messages.MessageBundle" var="bundle"/>
       <ui:include src="/templates/styles.jsf" />
       <ui:include src="/templates/scripts.jsf" />
      
      
      </head>
      <body id="public">
       <div id="content">
       <div id="login">
       <h:form id="loginForm">
       <div class="loginpanel">
       <rich:tree style="width:300px"
       value="#{desktopBean.templateRoot}"
       switchType="client"
       nodeSelectListener="#{desktopBean.templateSelected}"
       var="item" nodeFace="leaf" ajaxSubmitSelection="true">
       <rich:treeNode type="leaf">
       <h:outputText value="#{item.name}"/>
      
       </rich:treeNode>
       </rich:tree>
       </div>
       </h:form>
       </div>
       </div>
      </body>
      </html>