[richfaces-issues] [JBoss JIRA] (RF-12891) Datatable with ExtendedDataModel ajax call

Juraj Húska (JIRA) jira-events at lists.jboss.org
Thu Jun 6 12:20:55 EDT 2013


    [ https://issues.jboss.org/browse/RF-12891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779856#comment-12779856 ] 

Juraj Húska edited comment on RF-12891 at 6/6/13 12:20 PM:
-----------------------------------------------------------

I have reproduced the issue on Metamer on [this|https://github.com/richfaces/richfaces-qa/tree/RF-12891] branch. The method walk is called multiple times (6 times in this case).

* The [facelet|https://github.com/richfaces/richfaces-qa/blob/3782c40cda365b8c77331bb83680ad1003cba94d/metamer/application/src/main/webapp/components/richDataTable/rf-12891.xhtml] which is reproducing the issue.
* The [bean|https://github.com/richfaces/richfaces-qa/blob/3782c40cda365b8c77331bb83680ad1003cba94d/metamer/application/src/main/java/org/richfaces/tests/metamer/bean/issues/rf12891/RF12891Bean.java].

I have reproduced it on _JBoss AS 7.1.1.Final_. It is _not_ regression IMHO, because I was able to reproduce it with RichFaces from _4.1.Final to 4.3.2.Final_ (I was not able to build Metamer with 4.0.0.Final, but I can try this one if it is needed on some other separated sample).

The description for me is slightly different. Because I was able to reproduce the issue also when the column has just {{<a4j:ajax>}} which does not render an outside element.

Steps to reproduce the issue:
# Build and deploy the Metamer from the above mentioned branch.
# Load this [page|http://localhost:8080/metamer/faces/components/richDataTable/rf-12891.xhtml].
# Click on the picture from the first column.
# See that the server output log has multiple _"Method Walk called"_ entries.

Brian, please let me know If I can do something more for this one.
                
      was (Author: jhuska):
    I have reproduced the issue on Metamer on [this|https://github.com/richfaces/richfaces-qa/tree/RF-12891] branch. The method walk is called multiple times (6 times in this case).

* The [facelet|https://github.com/richfaces/richfaces-qa/blob/3782c40cda365b8c77331bb83680ad1003cba94d/metamer/application/src/main/webapp/components/richDataTable/rf-12891.xhtml] which is reproducing the issue.
* The [bean|https://github.com/richfaces/richfaces-qa/blob/3782c40cda365b8c77331bb83680ad1003cba94d/metamer/application/src/main/java/org/richfaces/tests/metamer/bean/issues/rf12891/RF12891Bean.java].

I have reproduced it on _JBoss AS 7.1.1.Final_. It is _not_ regression IMHO, because I was able to reproduce it with RichFaces from _4.1.Final to 4.3.2.Final_.

The description for me is slightly different. Because I was able to reproduce the issue also when the column has just {{<a4j:ajax>}} which does not render an outside element.

Steps to reproduce the issue:
# Build and deploy the Metamer from the above mentioned branch.
# Load this [page|http://localhost:8080/metamer/faces/components/richDataTable/rf-12891.xhtml].
# Click on the picture from the first column.
# See that the server output log has multiple _"Method Walk called"_ entries.

Brian, please let me know If I can do something more for this one.
                  
> Datatable with ExtendedDataModel ajax call
> ------------------------------------------
>
>                 Key: RF-12891
>                 URL: https://issues.jboss.org/browse/RF-12891
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.3.1
>         Environment: apache-tomcat-7.0.34, servlet-weld 1.1.11.
>            Reporter: tehackio teha
>            Priority: Critical
>              Labels: ExtendedDataModel, UIDataAdaptor, a4j:commandLink, datatable
>
> If one ajax call inside column of datatable(org.ajax4jsf.model.ExtendedDataModel) to render outside, method walk is called many times;
> On org.richfaces.component.UIDataAdaptor.requiresRowIteration(VisitContext context), context.getFacesContext().getAttributes().get("javax.faces.visit.SKIP_ITERATION") returns "null", therefore "false".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list