Access composite components zuml declared inner components

asked 2017-02-08 15:26:48 +0800

eclipse2 gravatar image eclipse2
17 4


I want to develop one component that is one wrapper of the components you place into the zuml tag:

Pratical example:

<myCompositeComponent id="wrapper_composite_component">
    <label id="wrapped_Label"\>
    <combobox id="wrapped_combo"\>

Now I have my corresponding java class:

public class MyCompositeComponent extends Div {

//How I can access to BOTH COMPONENTS? label and combo?


How I can access to all the components that I placed into the composite component?

Waiting one reply, Regards, Jaime Vaz

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-09 09:10:58 +0800

chillworld gravatar image chillworld flag of Belgium
5337 4 9

with mine experience,

Don't mix the zul and the class behind it, but just append the the label and the combobox in the code of your class.

You could implement the aftercompose interface for that.

Easier and faster (as ZK doesn't need to parse the zul file).


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: 2017-02-08 15:26:48 +0800

Seen: 23 times

Last updated: Feb 09 '17

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