5 Replies Latest reply on Jun 3, 2009 5:17 AM by nbelaevski

    How To: Use a4j:support with tree?

    allforjava

      Dear Team,

      Towards http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154005 and other post, I tried to workout as:

      <rich:panel>
       <rich:tree id="tasksTree" switchType="client">
       <rich:treeNodesAdaptor var="issue" nodes="#{issuesList.resultList}">
       <rich:treeNode icon="/img/down.gif">
       <h:outputText value="#{issue.id}"/>
       </rich:treeNode>
       </rich:treeNodesAdaptor>
       <a:support event="onselect" reRender="outpanel">
       <f:setPropertyActionListener value="#{issue}" target="#{issuesHome.instance}"/>
       </a:support>
       </rich:tree>
       </rich:panel>


      However, no effects. Does its the right way to use? I need to workout (if feasible) without defining a listener for handling on NodeSelectedEvent. Please assist.

      Thank you in advance!