syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <>
Subject [jira] [Created] (SYNCOPE-829) Use actual pagination for resource explore
Date Fri, 08 Apr 2016 15:40:25 GMT
Francesco Chicchiriccò created SYNCOPE-829:

             Summary: Use actual pagination for resource explore
                 Key: SYNCOPE-829
             Project: Syncope
          Issue Type: Improvement
          Components: console
            Reporter: Francesco Chicchiriccò
             Fix For: 2.0.0

The feature introduced by SYNCOPE-789 uses Wicket's {{AjaxDataTable}} and {{DataProvider}}
so requires, for pagination implementation, the total number of items to show being known

Unfortunately, the result from {{ResourceService#listConnObjects}} cannot contain such information
- due to the way how the underlying search is implemented in ConnId - so at the moment the
console code stores all items (up to 100 maximum as temporary protection) in memory and then
paginates from there.

This is natural suboptimal: what is required is to provide a different Wicket component (ideally
a {{ListView}})) which will not provide full pagination features but only {{next}} and {{prev}}
buttons, more adherent to the underlying data.

This message was sent by Atlassian JIRA

View raw message