Composite component children

asked 2015-03-31 00:07:47 +0800

martin21 gravatar image martin21


I'm creating a composite component that extends from Hlayout. Its based zul is:

     <button label="refresh"/>

Then I include in my view others children components within myComposite component


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.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-08 05:59:00 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

You can render the composite component inside an afterComposer() method, unlike the documentation which is rendered inside a constructor.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2015-03-31 00:07:47 +0800

Seen: 33 times

Last updated: Apr 08 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More