To initialize a component, you can implement this interface and then specify the class or an instance of it with the apply attribute as follows.
<window apply="my.MyComposer"/> <window apply="${a_composer}"/>
Then, ZK loader will
To intercept the lifecycle of the creation of a page, implement {@link Initiator} and specify the class with the init directive.
Note: {@link org.zkoss.zk.ui.ext.AfterCompose} has to be implementedas part of a component, while {@link Composer} is a controller usedto initialize a component (that might or might not implement {@link org.zkoss.zk.ui.ext.AfterCompose}). @author tomyeh @since 3.0.0 @see org.zkoss.zk.ui.ext.AfterCompose @see ComposerExt @see FullComposer @see Initiator
|
|