[richfaces-issues] [JBoss JIRA] (RF-12361) Tree cannot be expanded inside collection tags

Michael Heinen (JIRA) jira-events at lists.jboss.org
Wed Jul 18 04:07:06 EDT 2012


     [ https://issues.jboss.org/browse/RF-12361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Heinen updated RF-12361:
--------------------------------

    Attachment: tree.war


Sample webApp

The richfaces libs must be added due to the 10MB size limit.

Just call <context>/faces/trees.xhtml.

The page contains the sources from the richfaces showcase. There is a working tree outside a collection and three not working trees inside a rich:list.
                
> Tree cannot be expanded inside collection tags
> ----------------------------------------------
>
>                 Key: RF-12361
>                 URL: https://issues.jboss.org/browse/RF-12361
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.2.Final
>         Environment: myFaces 2.1.8
> Tomcat 6.0.35
>            Reporter: Michael Heinen
>              Labels: tree
>         Attachments: tree.war
>
>
> The rich:tree cannot be expanded completely via ajax if it is used inside a rich:list. The first level can be expanded but no deeper levels.
> Inside tomahawk datalist it does also not work.
> The tree worked well with tomahawk's datalist in richfaces 3.3.3. Therefore it is a showstopper for an update to version 4.
> {code:xml} 
> <rich:list id="treeList"
>            value="#{treeListBean.treeBeans}"
>            var="currentItem"
>            iterationStatusVar="counter" 
>            type="unordered"
>            rowKeyVar="rowKey">
>   <h:panelGroup id="t_group">
>     <h:panelGrid id="t_grid" columns="2" columnClasses="top,top" width="60%">  
>       <rich:tree id="tree" 
> 	         nodeType="#{node.type}" 
> 	         var="node" 
> 	         value="#{currentItem.rootNodes}" 
> 	         toggleType="ajax">
>         <rich:treeNode id="n_country" 
>                        type="country">
> 	  #{node.name}
>         </rich:treeNode>
>         <rich:treeNode id="n_company" 
>                        type="company" 
>                        icon="/images/tree/disc.gif">
> 	  #{node.name}
> 	</rich:treeNode>
> 	<rich:treeNode id="n_song" 
>                        type="cd" 
>                        icon="/images/tree/song.gif">
> 	  #{node.artist} - #{node.name} - #{node.year}
> 	</rich:treeNode>
>       </rich:tree>
>     </h:panelGrid>
>   </h:panelGroup>
> </rich:list>
> {code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list