-
Bug
-
Resolution: Won't Fix
-
Normal
-
None
-
5.0.10
When opening the index.zul, the meta, link, and the title tag will be stored inside the <body> tag which should be the <head> tag.
<!-- index.zul --> <?init class="org.zkoss.zk.ui.util.Composition" arg0="/foo/temp.zhtml"?> <zk:zk xmlns="http://www.zkoss.org/2005/zk/native" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:zk="http://www.zkoss.org/2005/zul"> <h:ul self="@{define(test)}">Test </h:ul> </zk:zk>
<!-- /WebContent/foo/temp.zhtml--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.zkoss.org/2005/zk/native" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:zk="http://www.zkoss.org/2005/zul"> <head> <title>Test</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="IE=7" http-equiv="X-UA-Compatible"/> </head> <body style=""> <h:div id="myDiv" self="@{insert(test)}"></h:div> </body> </html>