[richfaces-issues] [JBoss JIRA] Created: (RF-10859) a4j:repeat broken

wojtek k (JIRA) jira-events at lists.jboss.org
Sat Apr 9 19:06:33 EDT 2011


a4j:repeat broken
-----------------

                 Key: RF-10859
                 URL: https://issues.jboss.org/browse/RF-10859
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-a4j-core
    Affects Versions: 4.0.0.Final
         Environment: Tomcat 6.0.32, Tomcat 7.0.11, myfaces -2.0.4, richfaces  4.0.0.Final
            Reporter: wojtek k
            Priority: Critical
             Fix For: 4.0.1.Milestone1


<h:body>

	<h:form id="test_form">
		<h:messages/>

		<a4j:repeat value="#{dataBean.listDataItems}" var="item">
			<a4j:repeat value="#{item.list}" var="inner">
				<h:inputText id="test_input" value="#{inner.status}">
				</h:inputText>
				<br/>
			</a4j:repeat>
		</a4j:repeat>

		<h:commandLink value="submit" />
		<br/>
		<a4j:commandLink value="ajax request" render="test_form" />

	</h:form>

</h:body>

listDataItems -> 2 element List
#{item.list}  -> 2 element List
#{inner}      -> simple class with setter and getter status.


fill inputs and click "ajax request" or "submit".

2 first inputs after submit are not updated on server side

Replace a4j:repeat with ui:repeat and it works



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list