[richfaces-issues] [JBoss JIRA] Created: (RF-2072) <h:commandLink> inside 2 levels of rich:treeNodesAdaptor action broken (regression)

Denis Forveille (JIRA) jira-events at lists.jboss.org
Fri Jan 25 17:49:21 EST 2008


<h:commandLink> inside 2 levels of rich:treeNodesAdaptor action broken (regression)
-----------------------------------------------------------------------------------

                 Key: RF-2072
                 URL: http://jira.jboss.com/jira/browse/RF-2072
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.4, 3.2.0
         Environment: Facelest 1.1.13
JSF RI 1.2_07
Seam 1.2.1
WesSphere 6.1.0.13
            Reporter: Denis Forveille
            Priority: Blocker


The following code 

<rich:tree switchType="client" >
  <rich:treeNodesAdaptor id="a" var="itemNodeFamille" nodes="#{echeancierCtrl.listeNodesFamille}" >
    <rich:treeNode>
      <h:commandLink id="b" action="#{echeancierCtrl.consulter2}" value="#{itemNodeFamille.famille.code}"/>
    </rich:treeNode>
    <rich:treeNodesAdaptor id="c" var="itemNodeTypePromotion" nodes="#{itemNodeFamille.listeNodesTypePromotion}" >
       <rich:treeNode>
          <h:commandLink id="d" action="#{echeancierCtrl.consulter3}" value="#{itemNodeTypePromotion.typePromotion.description}"/>
      </rich:treeNode>
    </rich:treeNodesAdaptor>
  </rich:treeNodesAdaptor>
</rich:tree> 

Displays the follwing list 
A
  A1
  A2
B
  B1
  B2
  B3

When I click on any of the "parent" element (either A or B), the "#{echeancierCtrl.consulter2}" method is correctly called (only once...)
When I click (once!) on any of the "child" elements (either A1,A2, B1,B2, B3), the "#{echeancierCtrl.consulter3}" ils called 5 times, once for any of the child element.

This works well with RF 3.1.3, broken with latest 3.1.4 and 3.20 snapshots (2008-01-25)



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