O'Reilly logo

Liferay 6.2 User Interface Development by Jonas X. Yuan, Xinsheng Chen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the search container

The search container provides a utility to easily paginate search results. The UI tags of the search container have similar formats such as liferay-ui:search*. As shown in the following screenshot, the search container includes a set of functions such as checker, order and sort, results, row, column, form, toggle, pagination, iteration, and speed, using Users as an example:

Using the search container

The portal provides the UI tag that includes OpenSearch to display search results. In $PORTAL_ROOT_HOME/html/portlet/search/view.jsp, you can find the following code:

<liferay-ui:search />

Note that there is no attribute required in the UI tag liferay-ui:search ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required