[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 03:25:07 EDT 2012


Michael Heinen created RF-12361:
-----------------------------------

             Summary: 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


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