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

Simple Invoice Creation With Jasper Report

Dynamic Image in Jasper Report

Auto Increment Oracle Table Id Mapping With JPA Entity