-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
-
ZK JSP 2.0 ZK 6
Test case:
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="z"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Error</title>
</head>
<body>
<div id="me"></div>
<div id="me"></div>
<z:page zscriptLanguage="java">
<%-- this is Jsp valid Comment, do not
use XML comment. --%>
<h2>Error...</h2>
<z:div width="300px" id="tip" style="background:yellow">
<z:label value="Text in z:label tag"></z:label>
<table>
<tr><td><z:label value="Text in z:label tag"></z:label></td></tr>
<tr><td>Text</td></tr>
</table>
</z:div>
</z:page>
</body>
</html>
Expected: both label components shows correctly along with the html table
Actual: Unnecessary text added in the table td element that is nested in div component.