【发布时间】:2013-07-22 16:21:38
【问题描述】:
我正在使用 Icefaces 3.2,当我使用以下 XML 标准时会收到一些错误和警告。我的文件类型是xhtml。我不知道我是否在这里遗漏了什么。
TypeError: ice.fixViewState is not a function
TypeError: ice.captureEnterKey is not a function
Warning: Non-standard document.all property was used. Use W3C standard
document.getElementById() instead.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root version="2.1" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:ui="http://java.sun.com/jsf/facelets">
<jsp:directive.page contentType="text/html;charset=ISO-8859-1"
pageEncoding="ISO-8859-1" />
【问题讨论】:
-
如果使用 Facelets,那么您不需要任何
<jsp>标签。 -
我删除了所有
jsp标签,但我仍然看到这些错误,您认为我可以尝试其他什么?
标签: jsp icefaces icefaces-3