Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: 4.1.0.Milestone1
    • Component/s: component-a4j-core
    • Labels:
      None
    • Environment:

      Tomcat 6.0.32, Tomcat 7.0.11, myfaces -2.0.4, richfaces 4.0.0.Final

    • Workaround Description:
      Hide

      Use <a4j:repeat keepSaved="true" />

      Show
      Use <a4j:repeat keepSaved="true" />

      Description

      <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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lfryc Lukáš Fryč
                  Reporter:
                  wojtek9 wojtek k
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: