How to keep the filterBy value of rich:datatable in session scope?
Is it p开发者_JAVA百科ossible to keep the filterBy value of a rich:datatable rich:column filterBy="..."
in SESSION scope?
Yes, use el expression pointing to property of bean that is put in session scope.
<rich:datatable ...>
<rich:column filterValue="#{yourSessionBean.filterByProperty}" ... >
...
I'm assuming you want to store filterValue
not filterBy
.
精彩评论