-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi everyone,
I am really getting frustrated here. I am starting a new web application and just can't figure out how use the available templating mechanisms in a manner similar to master pages in ASP.NET (e.g. see http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx).
I want the same layout (header/footer) for every zul page in the web app. I am sure this is an extremely common requirement.
I would be very grateful for pointers to the relevant documentation and examples.
Thanks for your time Reto
This is a Composition pattern. Look at this: http://books.zkoss.org/wiki/ZK%20Developer's%20Reference/UI%20Patterns/Templating/Composition
Also see http://forum.zkoss.org/question/84777/are-processing-instructions-in-template-not-allowed-composition/ for more details on my final solution.