我遇到了谷歌无法解决的问题。
我们希望在<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>