Tejas Gowda
Tejas Gowda

Reputation: 25

Liferay Search Container pagination issue: When click on next or page no 2 it will redirect to default render method

Liferay Search Container pagination issue: When we click on next or page no 2 it will redirect to default render method and default jsp is called.

I also searched Liferay community forums and they suggested to use iteratorURL or

<% PortletURL urlPaginator=renderResponse.createActionURL();
urlPaginator.setParameter("param1", value1);
urlPaginator.setParameter("param2",value2); %>

<liferay-ui:search-container iteratorURL="<%=urlPaginator%>">

I didn't get clear idea of how to use it and implement.

Upvotes: 1

Views: 1519

Answers (1)

Raju Vadnala
Raju Vadnala

Reputation: 70

In your iteration url, add jspPage param and give the jsp page value to it(Apparently the same page that the search container exists)

Upvotes: 1

Related Questions