xpages : Filtering a View Data Source using the keys parameter(filter by category name)

半世苍凉 提交于 2020-01-25 16:23:20

问题


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: The history view is very voluminous.

Can any one help me please to fix this problem. thank you.

@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


回答1:


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>


来源:https://stackoverflow.com/questions/38631364/xpages-filtering-a-view-data-source-using-the-keys-parameterfilter-by-categor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!