[richfaces-issues] [JBoss JIRA] (RF-13690) DataTable in uiRepeat - scrolling in table makes columns unsorted again

Brian Leathem (JIRA) issues at jboss.org
Mon Jul 14 18:20:29 EDT 2014


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

Brian Leathem commented on RF-13690:
------------------------------------

The method in full:

{code}
    // Tests whether we need to visit our children as part of
    // a tree visit
    private boolean doVisitChildren(VisitContext context) {

        // Just need to check whether there are any ids under this
        // subtree.  Make sure row index is cleared out since
        // getSubtreeIdsToVisit() needs our row-less client id.
        //
        // We only need to position if row iteration is actually needed.
        //
        if (requiresRowIteration(context)) {
            setIndex(context.getFacesContext(), -1);
        }
        Collection<String> idsToVisit = context.getSubtreeIdsToVisit(this);
        assert(idsToVisit != null);

        // All ids or non-empty collection means we need to visit our children.
        return (!idsToVisit.isEmpty());

    }
{code}

> DataTable in uiRepeat - scrolling in table makes columns unsorted again
> -----------------------------------------------------------------------
>
>                 Key: RF-13690
>                 URL: https://issues.jboss.org/browse/RF-13690
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.5.0.Alpha3
>         Environment: WildFly 8.1.
>            Reporter: Juraj Húska
>            Assignee: Brian Leathem
>              Labels: regression
>             Fix For: 4.5.0.Alpha3
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> When {{DataTable}} is nested in {{uiRepeat}}, then scrolling over the table with {{dataScroller}} makes sorting according to some column broken - the columns are unsorted.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the richfaces-issues mailing list