Package org.zkoss.zk.ui.util
Interface PageActivationListener
-
public interface PageActivationListener
Used to notify an object stored in a page, when the session is going to be deactivated or has been activated.When a session is going to be deactivate, it checks every variable of a page to see whether this interface is implemented. If implemented,
willPassivate(org.zkoss.zk.ui.Page)
will be called. Similarly,didActivate(org.zkoss.zk.ui.Page)
is called if the session has been activated.- Since:
- 3.6.2
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
didActivate(Page page)
Called when a session has just been activated (and its value has been deserialized).void
willPassivate(Page page)
Called when a session is about to be passivated (and then serialize its value).
-