|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebAppInit
Used to initialize a ZK application when it is created.
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.
Method Summary | |
---|---|
void |
init(WebApp wapp)
Called when a ZK application is created and initialized. |
Method Detail |
---|
void init(WebApp wapp) throws java.lang.Exception
You could
retrieve the servlet context by WebApp.getServletContext()
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |