简体   繁体   English

如何在会话范围内保持rich:datatable的filterBy值?

[英]How to keep the filterBy value of rich:datatable in session scope?

是否可以在SESSION范围内保留rich:datatable rich:column filterBy="..."的filterBy值?

Yes, use el expression pointing to property of bean that is put in session scope. 是的,使用el表达式指向放置在会话范围内的bean的属性。

<rich:datatable ...>
 <rich:column filterValue="#{yourSessionBean.filterByProperty}" ... >
...

I'm assuming you want to store filterValue not filterBy . 我假设您要存储filterValue而不是filterBy

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM