[
https://issues.jboss.org/browse/RF-10859?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč edited comment on RF-10859 at 5/6/11 2:08 AM:
---------------------------------------------------------
Nick,
I have fixed problem with resetting childState before ApplyRequestValues phase and before
RenderView Phase by observing PostRestoreStateEvent and PreRenderViewEvent instead of in
processDecodes. This way state is reset exactly once.
was (Author: lfryc):
Nick,
I have fixed problem with resetting childState before Apply Request Values phase and
before Render View Phase by observing PostRestoreStateEvent and PreRenderViewEvent.
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