[richfaces-issues] [JBoss JIRA] Created: (RF-1242) Tree: The 'treeNodesAdaptor' component will not properly render when a Set is passed as the 'nodes' parameter.

Paul Hixson (JIRA) jira-events at lists.jboss.org
Wed Oct 24 23:38:06 EDT 2007


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

                 Key: RF-1242
                 URL: http://jira.jboss.com/jira/browse/RF-1242
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.0
            Reporter: Paul Hixson


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list