Jsf 2 页面重定向后primefaces datatable筛选文本丢失

Jsf 2 页面重定向后primefaces datatable筛选文本丢失,jsf-2,primefaces,datatable,Jsf 2,Primefaces,Datatable,使用jsf2和primefaces4.0 我过滤数据表并从第1页导航到第2页。 从第2页我导航回第1页,然后过滤文本丢失 第1页的Managedbean是Sessionscoped <p:dataTable id="customers" var="customer" value="#{customerListHandler.customers}" selection="#{customerListHandler.selectedCustomer}" selectio

使用
jsf2
primefaces4.0

我过滤数据表并从第1页导航到第2页。 从第2页我导航回第1页,然后过滤文本丢失

第1页的
Managedbean
Sessionscoped

<p:dataTable id="customers" var="customer"
    value="#{customerListHandler.customers}"
    selection="#{customerListHandler.selectedCustomer}"
    selectionMode="single" rowKey="#{customer.id}"
    binding="#{customerListHandler.dtCostomers}"
    widgetVar="myTable" >

有什么想法吗


谢谢

原因是您没有存储实际的筛选。据我所知,这只是可能使用一些黑客:。但这不是一个真正的答案。对不起的。