开发者

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

开发者 https://www.devze.com 2022-12-11 23:39 出处:网络
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 sc

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消