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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Aug 14 10:28:26 EDT 2013


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

Brian Leathem edited comment on RF-12891 at 8/14/13 10:27 AM:
--------------------------------------------------------------

According to the Illya's blog post about RichFaces data models:
http://in.relation.to/Bloggers/MigrationToRichFaces4RichFacesDataModels

It is probably expected that method walk is called many times:
??The component calls that method a few times during lifecycle and expects it to iterate over the model calling the DataVisitor which will process every object (e.g. encode row for the object at render phase).??

Therefore IMHO the issue should be closed with WONT Fix and advising to make method walk idempotent.
                
      
> 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
>              Labels: ExtendedDataModel, UIDataAdaptor, a4j:commandLink, datatable
>             Fix For: 4.3.4, 5-Tracking
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> 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