Fórum

liferay pagination delta property

Sneha Jajoo, modificado 9 Anos atrás.

liferay pagination delta property

New Member Postagens: 12 Data de Entrada: 09/06/14 Postagens Recentes
Hi,

I have to display 3 records per page. I am using liferay 6.2 pagination and set delta="3"

<liferay-ui:search-container iteratorURL="<%= portletURL %>" delta="3" emptyResultsMessage="no-users-were-found">

but still it showing all the records on single page.

please help.

Thanks,
Sneha
thumbnail
Anil Sunkari, modificado 9 Anos atrás.

RE: liferay pagination delta property

Expert Postagens: 427 Data de Entrada: 12/08/09 Postagens Recentes
Hi Sneha,

Sneha Jajoo:
Hi,

I have to display 3 records per page. I am using liferay 6.2 pagination and set delta="3"

<liferay-ui:search-container iteratorURL="<%= portletURL %>" delta="3" emptyResultsMessage="no-users-were-found">

but still it showing all the records on single page.

please help.

Thanks,
Sneha



Useful Links ::

First

Second

Regards,
Anil Sunkari
thumbnail
Vipin Bardia, modificado 9 Anos atrás.

RE: liferay pagination delta property

Regular Member Postagens: 162 Data de Entrada: 28/02/11 Postagens Recentes
Hi Sneha,

This should work -

#
# Set the available values for the number of entries to display per page. An
# empty value, or commenting out the value, will disable delta resizing.
#
# Always include the value specified in the property
# "search.container.page.default.delta", since it is the default page size
# when no delta is specified. The absolute maximum allowed delta is 200.
#
search.container.page.delta.values=3,5,10,20,30,50,75

Add 3 to this property and set delta as 3 in search container.

Regards