如何在Liferay中的搜索容器中进行搜索 [英] How to search inside of a search container in liferay

查看:82
本文介绍了如何在Liferay中的搜索容器中进行搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个搜索容器,其中显示了数据库中的数据.我想在其顶部添加一些输入,并通过此字词在搜索容器中进行搜索. 请给我一些例子来做到这一点...

解决方案

搜索容器是一个标签库,可生成一定的HTML输出,并帮助您以一种类似于Liferay本身的UI的方式来组织数据. /p>

仅由于名称而没有固有的可搜索性".此外,这取决于您在搜索容器中搜索"时打算做什么:您需要Ajax还是只想在当前显示的页面中进行搜索?

根据基础数据量和数据的性质,我的建议将更改.但是搜索容器"是开始寻找解决方案恕我直言的错误点

I have a search container that shows data from database. I want to put some input at top of it and search inside search container by this words. Please give me some example to do this ...

解决方案

search container is a taglib that generates a certain HTML output and helps you to organize data in a way that results in a UI similar to that of Liferay itself.

There's no inherent "searchability", just because of the name. Further, it depends on what exactly you intend to do when you "search in search container": Do you need Ajax or do you just want to search in the currently displayed page?

Based on the underlying amount of data and the nature of it, my recommendation what to do would change. But "search container" is the wrong point to start looking for the solution IMHO

这篇关于如何在Liferay中的搜索容器中进行搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆