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.
如何使用markInitialState () 方法?我想保存组件的初始状态。
markInitialState 是为此吗?
markInitialState供容器/上下文使用,如此处所示。用于saveState(FacesContext ct)您的需要并restoreState(FacesContext ctx)恢复相同的对象。干杯
markInitialState
saveState(FacesContext ct)
restoreState(FacesContext ctx)