[ 
https://issues.jboss.org/browse/RF-10859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukáš Fryč updated RF-10859:
----------------------------

    Description: 
{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



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





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

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to