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

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Sun Oct 28 18:51:11 EDT 2007


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

Nick Belaevski updated RF-1242:
-------------------------------

    Fix Version/s: 3.2.0
         Assignee: Nick Belaevski

> 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