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

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Thu Nov 8 05:27:21 EST 2007


     [ http://jira.jboss.com/jira/browse/RF-1242?page=all ]

Ilya Shaikovsky reassigned RF-1242:
-----------------------------------

    Assignee: Nick Belaevski  (was: Ilya Shaikovsky)

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

> 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
>         Assigned To: Nick Belaevski
>             Fix For: 3.2.0
>
>
> 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