0

How to use taglib or include JSP pages in zul file

asked 2008-09-12 01:48:11 +0800

louisyfwang gravatar image louisyfwang
12

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

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-09-12 08:44:13 +0800

dennis gravatar image dennis
3679 1 6
http://www.javaworld.com....

updated 2008-09-12 08:44:37 +0800

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?

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-09-12 01:48:11 +0800

Seen: 630 times

Last updated: Sep 12 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More