The apply Attribute"
From Documentation
Maya001122 (talk | contribs) m (Created page with '{{ZKDevelopersGuidePageHeader}} It specifies a class, a collection of classes that are used to initialize the component. The class must implement the <tt>org.zkoss.zk.util.Compo…') |
m (correct highlight (via JWB)) |
||
Line 1: | Line 1: | ||
{{ZKDevelopersGuidePageHeader}} | {{ZKDevelopersGuidePageHeader}} | ||
− | It specifies a class, a collection of classes that are used to initialize the component. The class must implement the < | + | It specifies a class, a collection of classes that are used to initialize the component. The class must implement the <code>org.zkoss.zk.util.Composer</code> interface. And then, you can do the initialization in the <code>doAfterCompose</code> method, since it is called after the component and all its children are instantiated. |
{{ ZKDevelopersGuidePageFooter}} | {{ ZKDevelopersGuidePageFooter}} |
Latest revision as of 10:40, 19 January 2022
This documentation is for an older version of ZK. For the latest one, please click here.
It specifies a class, a collection of classes that are used to initialize the component. The class must implement the org.zkoss.zk.util.Composer
interface. And then, you can do the initialization in the doAfterCompose
method, since it is called after the component and all its children are instantiated.