フィルターをオンにしたメニューがあります。値とラベルはどちらも文字列です。この場合、「コンバーター」プロパティを設定する必要がありますか? 私が尋ねている理由は、「コンバーター」が提供されていないとフィルター機能が機能しないためです。例えば、
<p:selectOneMenu value="#{menuBean.selectedCountry}" filter="true" filterMatchMode="startsWith">
<f:selectItem itemLabel="Select One" itemValue=""/>
<f:selectItem itemLabel="US" itemValue="1"/>
<f:selectItem itemLabel="Spain" itemValue="2"/>
</p:selectOneMenu>
あなたのポイントと助けをありがとう!