]
Aleksej Yanul commented on RF-2072:
-----------------------------------
verified for 3.1.4
<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.2.0, 3.1.4
Environment: Facelest 1.1.13
JSF RI 1.2_07
Seam 1.2.1
WesSphere 6.1.0.13
Reporter: Denis Forveille
Assigned To: Tsikhon Kuprevich
Priority: Critical
Fix For: 3.2.0, 3.1.4
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: