-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I'm creating a composite component that extends from Hlayout. Its based zul is:
<myComposite>
<button label="refresh"/>
</myComposite>
Then I include in my view others children components within myComposite component
...
<zk>
<myComposite>
<listbox></listbox>
</myComposite>
</zk>
My problem is that the element listbox is created after the button but what I'm trying to do is the button renders after the listbox.
I already read zk documents about Composite Components but there aren't information related to composite components including children components.
You can render the composite component inside an afterComposer() method, unlike the documentation which is rendered inside a constructor.
Asked: 2015-03-31 00:07:47 +0800
Seen: 35 times
Last updated: Apr 08 '15