Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1242

Tree: The 'treeNodesAdaptor' component will not properly render when a Set is passed as the 'nodes' parameter.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Despite the fact that the API calls for a Collection for the "nodes" parameter, the component will not render an org.hibernate.collection.PersistentSet or a java.util.Set.

      We are coding around this by converting the Sets returned from our database entities to java.util.List collections in special VO objects that will only be used by the one page with tree nodes. We would much prefer to use PersistentSets where the natural order of the nodes will suffice and a SortedSets for those that require a specific order, as these are out "native" Hibernate collections.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ayanul Aleksej Yanul
                Reporter:
                phixson Paul Hixson
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: