gpt4 book ai didi

Primefaces DataTable 过滤警告

转载 作者:行者123 更新时间:2023-12-03 16:53:33 25 4
gpt4 key购买 nike

我使用的是 primefaces 3.5,我的表单中有一个 DataTable 组件。

当我尝试使用像 this 这样的过滤器时primefaces 展示,我收到此警告消息:

WARNING: DataTable j_idt7:j_idt8:someList has filtering enabled but no filteredValue model reference is defined, for backward compatibility falling back to page viewstate method to keep filteredValue. It is highly suggested to use filtering with a filteredValue model reference as viewstate method is deprecated and will be removed in future.

有人能帮忙吗?

最佳答案

来自 here :

See the user guide on page 133 'Data Filtering' in the chapter dataTable. There is a new attribute filteredValue that should point to a List in a ViewScoped managed bean to store the filtered values the user typed in.

关于Primefaces DataTable 过滤警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19117088/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com