5 Replies Latest reply on Sep 3, 2009 9:29 PM by Dean Ashby

    Retrieve information on a rich:tree

    nargzul Newbie

      Hi guy!

      I'm evaluating Richfaces for a personal project and I'm in trouble with the rich tree

      <rich:tree id="tree" switchType="client" ajaxSubmitSelection="true" rowKeyConverter="org.richfaces.TreeRowKeyConverter">
      <rich:recursiveTreeNodesAdaptor roots="#{AddDeal.rootService}" var="item" nodes="#{item.serviceCollection}" >

      It works good, I've all my entries, I don't need this time to have any Ajax, I only want to know what have been selected when I submit the form.

      How can I know that?

      I've searched to set something like a "value" but only for the selected row, but I didn't found this.
      I've try to use the listener, but my bean has a request Scope and when I submit I don't have more data, and if I transform it to a session scope, I will have collision when I use it two times on a browser.

      Thank you!