[richfaces-issues] [JBoss JIRA] Created: (RF-4980) JavaScript error when using nested ui:repeat tags inside rich:panelBar

Tihomir Surdilovic (JIRA) jira-events at lists.jboss.org
Tue Nov 18 11:03:36 EST 2008


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


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

        



More information about the richfaces-issues mailing list