留言板

display terms search

thumbnail
Behzad Gadimi,修改在11 年前。

display terms search

Junior Member 帖子: 36 加入日期: 11-3-8 最近的帖子
Hi,
in order to search inside the search container rows, what I need ?

I look at enterprise admin example and I don't understand some of them,
what is searchContainer and displayTerms in here and what they do?

<%
BookSearch searchContainer = (BookSearch)request.getAttribute("liferay-ui:search:searchContainer");

BookDisplayTerms displayTerms = (BookDisplayTerms)searchContainer.getDisplayTerms();
%>

<span class="aui-search-bar lfr-display-terms-search">
<aui:input inlineField="<%= true %>" label="" name="<%= displayTerms.TITLE %>" size="30" type="text" value="<%= displayTerms.getTitle() %>" />

<aui:button type="submit" value="search" />
</span>
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: display terms search

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Have you read the following wiki page?

http://www.liferay.com/community/wiki/-/wiki/Main/SearchContainer
thumbnail
Behzad Gadimi,修改在11 年前。

RE: display terms search

Junior Member 帖子: 36 加入日期: 11-3-8 最近的帖子
yes,
but it doesn't say anything about the searchTerms,
what is it and where the h - - l did it come from?