public interface AfterCompose
afterCompose()is called, after ZK loader creates this component, all of its children, and assigns all properties defined in the ZUML page. It is so-called "compose".
On the other hand,
BeforeCompose.beforeCompose() is called
before any properties are set and before any child components are created.
It is similar to listen the onCreate event since it is called after all children are created. However, unlike onCreate, it is called in the Component Creation phase (rather than in an event listener). In other words, it is called before processing an event including onCreate events. Since no event processing thread is forked, the performance is a bit better.
A typical example is that macro components use this callback to create its children based on the macro URI.
If it is created manually, it is caller's job to invoke
Copyright © 2005-2019 Potix Corporation. All Rights Reserved.