XPages: Using a View with FTSearch applied as a source to dynamicViewPanel

╄→尐↘猪︶ㄣ 提交于 2019-12-13 21:14:43

问题


I would like to take a dominoView, apply a FTSearch in beforePageLoad, and then use that view as the value in a dynamicViewPanel to show the search results. Unless I'm doing something wrong, it seems like the dynamicViewPanel is showing the full view, as if the search wasn't performed. The FTSearch is being done in beforePageLoad as expected, though. Should this work? (If not, for some reason, then it seems like a workaround would be to store the search results in beforePageLoad into a javascript array and use that as the value of a repeat instead of using a dynamicViewPanel.)

TIA! - Reid


回答1:


Why not just use the Search property of the view data source? This does a FT search. You can bind that property to a viewScope variable that holds your FT search query and if you don't want to filter the view then just set the viewScope variable to "".



来源:https://stackoverflow.com/questions/34640639/xpages-using-a-view-with-ftsearch-applied-as-a-source-to-dynamicviewpanel

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