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 Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.3, 3.2.0
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      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.

        Activity

        Hide
        Nick Belaevski
        added a comment -

        resolved

        Show
        Nick Belaevski
        added a comment - resolved
        Hide
        Ilya Shaikovsky
        added a comment -

        commit in 3.1.x branch and resolve to both versions please

        Show
        Ilya Shaikovsky
        added a comment - commit in 3.1.x branch and resolve to both versions please

          People

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

            Dates

            • Created:
              Updated:
              Resolved: