[ https://jira.jboss.org/jira/browse/RF-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsikhon Kuprevich reassigned RF-4980: ------------------------------------- Assignee: Tsikhon Kuprevich (was: Ilya Shaikovsky) > 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 > Assignee: Tsikhon Kuprevich > Fix For: 3.3.0 > > 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: https://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ richfaces-issues mailing list richfaces-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/richfaces-issues