【问题标题】:JavaScript Type Errors in console控制台中的 JavaScript 类型错误
【发布时间】: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,那么您不需要任何 &lt;jsp&gt; 标签。
  • 我删除了所有jsp 标签,但我仍然看到这些错误,您认为我可以尝试其他什么?

标签: jsp icefaces icefaces-3


【解决方案1】:

我必须使用最新版本的Icefaces 3.3 来解决问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-12-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-05
    • 1970-01-01
    • 2015-01-21
    相关资源
    最近更新 更多