]
Tihomir Surdilovic updated RF-4980:
-----------------------------------
Comment: was deleted
JavaScript error when using nested ui:repeat tags inside
rich:panelBar
----------------------------------------------------------------------
Key: RF-4980
URL:
https://jira.jboss.org/jira/browse/RF-4980
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Reporter: Tihomir Surdilovic
Attachments: Panelbarrepeater.java, panelbarrepeater.xhtml, Person.java,
Pet.java
When having nested ui:repeat tags inside rich:panelBar FireFox 3 shows a JavaScript error
and the content of the inner ui:repeat does not render.
Following is sample xhtml:
<h:form id="panelbarrepeaterForm">
<rich:panelBar>
<ui:repeat value="#{allPeople}" var="person">
<rich:panelBarItem label="#{person.fname}, #{person.lname}">
<ul>
<ui:repeat value="#{person.pets}" var="pet">
<li><a4j:commandLink value="#{pet.name} - #{pet.type}">
<f:setPropertyActionListener value="#{pet.name}"
target="#{panelbarrepeater.clickedPet}" />
</a4j:commandLink></li>
</ui:repeat>
</ul>
</rich:panelBarItem>
</ui:repeat>
</rich:panelBar>
</h:form>
And the JavaScript error:
Error: this.items[index] is undefined
Source File:
http://localhost:8080/forcustomer/a4j/g/3_2_2.GAscripts/panelbar.js
Line: 15
I have uploaded test case which uses a Seam component as backing bean.
This was tested with both 3.2.2.SR1 and 3.2.2.GA
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: