开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜