2013-07-22 64 views
0

我使用Icefaces 3.2,並在使用以下XML標準時收到一些錯誤和警告。我的文件類型是xhtml。我不知道我是否在這裏失去了一些東西。控制檯中的JavaScript類型錯誤

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" /> 
+1

如果使用Facelets,則不需要任何''標籤。 –

+0

我刪除了所有'jsp'標籤,但我仍然看到這些錯誤,您認爲我可以嘗試的其他任何內容? –

回答

0

我不得不使用的Icefaces 3.3最新版本,以解決這些問題。