Fórum

Pagination in Liferay

sravan kumar, modificado 9 Anos atrás.

Pagination in Liferay

Junior Member Postagens: 78 Data de Entrada: 19/02/13 Postagens Recentes
How can implement pagination with model Permissions.

Ex:if i retrieve first 15 record and i will iterate over 15 records and the record with view permission will be displayed to user. but how can i display data through pagination?
thumbnail
Harish Kumar, modificado 9 Anos atrás.

RE: Pagination in Liferay

Expert Postagens: 483 Data de Entrada: 31/07/10 Postagens Recentes
Hi,

You can make use of Search Container for data display and pagination. Here is the wiki link for same http://www.liferay.com/community/wiki/-/wiki/Main/SearchContainer
sravan kumar, modificado 9 Anos atrás.

RE: Pagination in Liferay

Junior Member Postagens: 78 Data de Entrada: 19/02/13 Postagens Recentes
i need to check for VIEW permission for each row in this how can i use searchContainer..?
thumbnail
Zsigmond Rab, modificado 9 Anos atrás.

RE: Pagination in Liferay

Liferay Master Postagens: 728 Data de Entrada: 05/01/10 Postagens Recentes
Hi Sravan,

read this comment.

Regards,
Zsigmond
sravan kumar, modificado 9 Anos atrás.

RE: Pagination in Liferay

Junior Member Postagens: 78 Data de Entrada: 19/02/13 Postagens Recentes
Hi,

can you please some sample on filter checking at database level or any default portlet using this methods?
thumbnail
Zsigmond Rab, modificado 9 Anos atrás.

RE: Pagination in Liferay

Liferay Master Postagens: 728 Data de Entrada: 05/01/10 Postagens Recentes
Hi Sravan,

actually, it's only a call of a service method. If your object fulfill the condition described in the linked comment the methods are being generated at service building automatically. You only need to use those.

What else do you need? Or have you tried already with no success?

Regards,
Zsigmond