-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I've a custom component and in my zul it looks like this
<cust_container>
<cust_component />
</cust_container>
Now in the java associated with cust_container, I want to add a wrapping component in between these 2 so that the dom generated looks like :
<cust_container>
<wrapper_component>
<cust_component />
</wrapper_component>
</cust_container>
How would I go about that ?
Is cust_container a custom component also - if it is then you could change the mold and add a wrapper arround its children.
If your cust_container is a macro component then just override the appendChild method to move the child to an internal wrapper.
Asked: 2016-07-27 09:41:51 +0800
Seen: 18 times
Last updated: Jul 29 '16