[
https://issues.jboss.org/browse/RF-10859?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-10859:
---------------------------------
It works with JSF RI 2.1.1-b03,
but it doesn't work with JSF RI 2.0.4-b09
or MyFaces 2.0.4 / 2.1.0-SNAPSHOT.
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
Assignee: Lukáš Fryč
Priority: Critical
Fix For: 4.1.0.Milestone1
Attachments: jsf2-test.zip
{code:XML}
<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>
{code}
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