xpages:使用keys参数过滤视图数据源(按类别名称过滤) [英] xpages : Filtering a View Data Source using the keys parameter(filter by category name)
问题描述
我有一个XPage链接到我们的一个数据库,该页面显示了该数据库中文档的历史视图. 此视图在Notes客户端中分类. 我需要通过从ComboBox中选择的值来过滤此数据视图,因此我通过添加参数categoryFilter来将数据限制为单个类别:按类别名称过滤".
I have an XPage linked to one of our databases which displays an history view of documents in this database. This view is categorized in the Notes client. I need to filter this data view by a value selected from a ComboBox, so I have limited the data to a single category by adding a parameter categoryFilter :" filter by category name".
问题在于过滤后的视图的显示要花费很多时间,然后在我看来却是时间错误消息.
The problem is that the display of the filtered view takes a lot of times then it appears to me a time error message.
N.B:历史视图非常丰富.
N.B: The history view is very voluminous.
任何人都可以帮助我解决此问题. 谢谢.
Can any one help me please to fix this problem. thank you.
@modified:2016年7月29日
@modified : 29/07/2016
当我使用按列值过滤时:我只有第一个文档 按列值过滤
when i use Filter by column value : i have just the first document Filter by column value
但是当我使用按类别名称过滤"时:我得到了完整的结果 按类别名称过滤
But when i use Filter by category name : i have a complete result Filter by category name
推荐答案
使用"按列值过滤"而不是按类别名称过滤".
Use "Filter by column value" instead of "Filter by category name".
您的源代码应如下所示:
Your source code should look like this then:
<xp:viewPanel
...
<xp:this.data>
<xp:dominoView
var="view1"
viewName=...
keys="#{javascript:sessionScope.categoryKey}">
</xp:dominoView>
</xp:this.data>
这篇关于xpages:使用keys参数过滤视图数据源(按类别名称过滤)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!