Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将 a 的 filterBy 值保留rich:datatable rich:column filterBy="..."在 SESSION 范围内?
rich:datatable rich:column filterBy="..."
是的,使用 el 表达式指向放在会话范围内的 bean 的属性。
<rich:datatable ...> <rich:column filterValue="#{yourSessionBean.filterByProperty}" ... > ...
我假设你不想filterValue存储filterBy。
filterValue
filterBy