-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi!
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"\>
</myCompositeComponent>
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
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).
Chill.
Asked: 2017-02-08 15:26:48 +0800
Seen: 24 times
Last updated: Feb 09 '17
composite component help [closed]
Source code of page dosen't change when usinge an Include
How can i pass parameter to a composite component
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true