3

我正在使用 primefaces 3.5,并且我的表单中有一个 DataTable 组件。

当我尝试使用像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.

任何人都可以帮忙吗?

4

1 回答 1

5

这里

请参阅数据表一章中第 133 页“数据过滤”的用户指南。有一个新属性 filteredValue 应该指向 ViewScoped 托管 bean 中的 List 以存储用户输入的过滤值。

于 2013-10-01T13:52:57.070 回答