Foros de discusión

display terms search

thumbnail
Behzad Gadimi, modificado hace 11 años.

display terms search

Junior Member Mensajes: 36 Fecha de incorporación: 8/03/11 Mensajes recientes
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, modificado hace 11 años.

RE: display terms search

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
Have you read the following wiki page?

http://www.liferay.com/community/wiki/-/wiki/Main/SearchContainer
thumbnail
Behzad Gadimi, modificado hace 11 años.

RE: display terms search

Junior Member Mensajes: 36 Fecha de incorporación: 8/03/11 Mensajes recientes
yes,
but it doesn't say anything about the searchTerms,
what is it and where the h - - l did it come from?