Primefaces selectCheckboxMenu延迟渲染庞大的数据集

时间:2018-01-19 13:54:26

标签: jsf primefaces

我遇到了谷歌无法解决的问题。

我们希望在<p:selectCheckboxMenu />中展示文章。 有时它会发生,下拉列表中有大约50,000篇文章。 在这种情况下,下拉有时需要超过30秒才能折叠并显示项目。

有没有机会在不使用<p:autocomplete />

的情况下解决我的问题
<p:selectCheckboxMenu id="articles"
        converter="entityConverter" label="Articles" style="width: 250px!important;"
        value="#{myController.selectedArticle}"  
        filter="true" filterMatchMode="startsWith">

    <f:selectItems value="#{myController.articleList}"
            var="article"
            temValue="#{article}" 
            itemLabel="#{article.name}">
    </f:selectItems>   
</p:selectCheckboxMenu>

0 个答案:

没有答案