Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Pagination in the OOB Touch UI

Avatar

Level 2

Hi all,

On the touch ui, at various locations like sites, projects , assets . I could see that there are various calls fetching the first 40 results , and as we scroll down the page, the next set of forty results comes on and this happens on further scroll down also,

http://localhost:2017/mnt/overlay/granite/security/content/useradmin/views/list.40.40.html?_=1504533...

http://localhost:2017/mnt/overlay/granite/security/content/useradmin/views/list.80.40.html?_=1504533...

What triggers these calls on the scroll down of every page ?

Thanks,

Sindhu.

1 Accepted Solution

Avatar

Correct answer by
Administrator

How do you want to use it? What is your use-case?

For reference,

Have a look at :- /libs/granite/security/content/useradmin/views/list

Onscrolling - /mnt/overlay/granite/security/content/useradmin/views/list{.offset,limit}.html is called.

Check offset in this file :- /libs/granite/ui/components/coral/foundation/table/table.jsp

~kautuk



Kautuk Sahni

View solution in original post

4 Replies

Avatar

Correct answer by
Administrator

How do you want to use it? What is your use-case?

For reference,

Have a look at :- /libs/granite/security/content/useradmin/views/list

Onscrolling - /mnt/overlay/granite/security/content/useradmin/views/list{.offset,limit}.html is called.

Check offset in this file :- /libs/granite/ui/components/coral/foundation/table/table.jsp

~kautuk



Kautuk Sahni

Avatar

Level 2

Hi Kautuksahni,

My use case is that I have an separate console where I display the list of products custom to the project similar to the backup console. I need to implement the pagination and I was referring the OOB consoles to know how it is implemented.

Right now , I am getting the same calls repeated again and again and the offset is not incrementing.

http://localhost:2017/apps/pugranch/admin/ext/uptime/content/test/views/list.0.10.html?_=15046203362...

Any help regarding where the offset is getting incremented?

Thanks,

Sindhu.

Avatar

Level 10

I do not recommend modifying the Admin UI code itself. If you break something - typically support will not help that.

Avatar

Level 2

Hi all,

Any idea on how the /mnt/overlay/granite/security/content/useradmin/views/list{.offset,limit}.html is called on scrolling and how the offset is getting incremented?

Thanks,

Sindhu.