Fórumok
display terms search
Behzad Gadimi, módosítva 11 év-val korábban
display terms search
Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2011.03.08. Legújabb bejegyzések
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>
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>
Hitoshi Ozawa, módosítva 11 év-val korábban
RE: display terms search
Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
Have you read the following wiki page?
http://www.liferay.com/community/wiki/-/wiki/Main/SearchContainer
http://www.liferay.com/community/wiki/-/wiki/Main/SearchContainer
Behzad Gadimi, módosítva 11 év-val korábban
RE: display terms search
Junior Member Bejegyzések: 36 Csatlakozás dátuma: 2011.03.08. Legújabb bejegyzések
yes,
but it doesn't say anything about the searchTerms,
what is it and where the h - - l did it come from?
but it doesn't say anything about the searchTerms,
what is it and where the h - - l did it come from?