How to use two (multiple) Liferay UI Search Container tags in a single JSP

If you are trying to include multiple Liferay UI Search Container in one jsp, you might encounter problem in pagination. As a solution use curParam with different names for different search container.


<liferay-ui:search-container delta="20" curParam="actualCurParam"
deltaConfigurable="false" emptyResultsMessage="There are no bank balance recorded yet.">



<liferay-ui:search-container delta="20" curParam="forcastCurParam"
deltaConfigurable="false" emptyResultsMessage="There are no transactions recorded yet.">

Comments

Popular posts from this blog

Maven + Oracle XE + Sample App

Dynamic Image in Jasper Report

Display Images From a Non-Project Directory in JSF