-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Can someone help me understand templates?
On the ZKEssentials books its basically explained like this: create regular zul.
On another zul say theres a template with name "Name" and say its source its the previous regular zul.
Afterwards just use <apply template="Name"/>
But in between theres @insert(content) and @define(content) and none of this is explained or what they mean.
Hello DMH,
Please check out the following document which gives a lot of details:
http://books.zkoss.org/wiki/ZKDeveloper'sReference/UI_Patterns/Templating/Composition
If you still need more info, please let me know.
Best Regards,
Darksu
Asked: 2016-01-21 10:33:50 +0800
Seen: 10 times
Last updated: Jan 21 '16
Changing include source makes new page stuck
Method on an@refed object inside a template in a included zul with form binding is called only once
MVVM form validation for field inside template
Failed to load the resource timepicker.css.dsp and others
How can one set a template to a Grid within java?
ZK, AngularJS and Pure HTML Template
Its the examples on the book that I can't understand.
Also I have no idea why I can't comment on your answer.
I've got the template working but everytime I change the source on the include it takes me to the page I want yet its stuck processing and I can't click anything on the new page.
DMH ( 2016-01-21 13:00:57 +0800 )edit