-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi experts,
We have some customized JSP taglib and need to use them in ZUL file. There are many material teaching how to use ZK resource in JSP, but nothing about how we can use JSP/taglib in ZUL.
I would like to ask below questions:
1. How could I use JSP taglib in ZUL code?
2. How could I include an external JSP file in ZUL code?
Thanks for your information.
Best regards,
Louis
about Q1,
I think ZUL cannot invoke JSP nested taglib(such as <fn:loop while=""><fn:set a="b"/></fn:loop>.
However there is a directive 'taglib' helps you to do invoke method defined in taglib by XML Processing Instruction format(Called Directive in ZUML).
http://zkoss.org/doc/devref/ch02s02.html#id420200
about Q2, didn't <include src="your.jsp"/> work?
Asked: 2008-09-12 01:48:11 +0800
Seen: 630 times
Last updated: Sep 12 '08