PrimeFaces关于数据表中的filteredValue的警告不再出现(7.0版)

时间:2019-07-19 13:56:00

标签: jsf primefaces

嘿,我正在将应用程序从3.5移植到7.0,在3.5上,只要我们在视图(xhtml)上有数据表,我们都会发出此警告:

WARNING [org.primefaces.component.datatable.DataTable] (default task-8) DataTable frmAperturaCajaMasiva:dtbFrmCaja 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.

它指出viewstate方法已被弃用,以后将被删除,但是我没有对datatables方法做任何更改,而迁移时都未添加filteredValue模型引用,并且警告也消失了,我想知道他们是否会改变主意这个警告或发生了什么?在迁移指南中看不到任何有关https://github.com/primefaces/primefaces/wiki/Migration-Guide

的信息

0 个答案:

没有答案