public interface WebAppInit
Notice that, when init(org.zkoss.zk.ui.WebApp)
was called, WebApp
has been
created. In other words, it is too late to change the implementation
class of UiEngine via Configuration
.
Rather, use WebAppCtrl.setUiFactory(org.zkoss.zk.ui.sys.UiFactory)
and other methods instead.
How this interface is used.
init(org.zkoss.zk.ui.WebApp)
is called.Modifier and Type | Method and Description |
---|---|
void |
init(WebApp wapp)
Called when a ZK application is created and initialized.
|
void init(WebApp wapp) throws java.lang.Exception
You could
retrieve the servlet context by WebApp.getServletContext()
java.lang.Exception
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.