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

1.4k views Asked by At

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.

1

There are 1 answers

3
Raju Vadnala On BEST ANSWER

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