Embed HTML in ZUL window component

asked 2007-02-01 12:01:58 +0800

admin gravatar image admin
18691 1 10 129
ZK Team

Orignial message at:

By: vigors

Congratulation for zk ! it's very sympatic framework.

I have a problem to embed an html page in a window zul component.
Html static pages are provided by a legacy application and i can't rewrite them.

I use <include src="page.html" to include html page.
It seems work properly. But some tags are not dispayed in the browser !
<img src=...> is not dispayed ?

Can you explain that, or can you provide me an alternative solution.

here is the code :

<?xml version="1.0" encoding="utf-8"?>
<zk xmlns="http://www.zkoss.org/2005/zul"
http://www.zkoss.org/2005/zul/zul.xsd ">
<window id="help" title="Contextual Help on line"
border ="normal" width="600px" closable="true" mode="overlapped" >
<label value="${arg.filehelp}" />
<include src="${arg.filehelp}" />

here is an example of html page :
<p> blalal </p>
<img alt="sdsdf" src="exclam.gif" >

and here is the result (in the browser)



I use ZK.2.2.1.

thanks for your help.


delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2007-02-08 04:20:19 +0800

admin gravatar image admin
18691 1 10 129
ZK Team

Orignial message at:

By: henrichen

Can you read the browser source and identify the "src" of the image? I doubt that is some kind of URL relative path issue.


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




Asked: 2007-02-01 12:01:58 +0800

Seen: 1,346 times

Last updated: Feb 08 '07

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