Ice Faces 3页面无法打开即9

时间:2012-10-22 15:11:49

标签: jsf internet-explorer-9 icefaces

我正在使用Ice faces 3,tomcat 7.0开发JSF应用程序。我的问题是应用程序在firefox和chrome上运行正常,但是在Internet Explorer 9中没有打开。它不会抛出任何错误,只是页面出现空白。 这是xhtml页面:

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[
     <!ENTITY nbsp   "&#160;">
     <!ENTITY auml   "&#228;">
     <!ENTITY ouml   "&#246;">
     <!ENTITY Ouml   "&#214;">
     <!ENTITY uuml   "&#252;"> 
     <!ENTITY szlig  "&#223;">
]>

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:icecore="http://www.icefaces.org/icefaces/core"  xmlns:ace="http://www.icefaces.org/icefaces/components"   xmlns:ice="http://www.icesoft.com/icefaces/component" 
    >
    <h:head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>#{msgs.MyTitle}</title> 
    <link rel="stylesheet" href="./css/tas.css" />
    <ice:outputStyle href="./css/processbar.css" />
  <script type="text/javascript" defer="defer" language="javascript" src="posadmin.js" />
    </h:head>
    <h:body>
    <ice:panelGrid columns="1" cellspacing="0" cellpadding="0" border="0" width="100%">
        ***<ui:include src="head.xhtml"/>
                <ui:include src="Filter.xhtml"/>
        <ui:include src="admin.xhtml"/>*** 
        </ice:panelGrid>
     <ice:form id="error_form">
    <ui:include src="/popups/error.xhtml"></ui:include>
  </ice:form>
  <ice:form id="message_form">
    <ui:include src="/popups/message.xhtml"></ui:include>
  </ice:form>
    <ice:form id="close_form">
    <ui:include src="/popups/close.xhtml"></ui:include>
  </ice:form>
    </h:body>
</html>

当我删除任何一个ui:include语句

<ui:include src="head.xhtml"/>
<ui:include src="Filter.xhtml"/> or
<ui:include src="admin.xhtml"/>
上面的

我删除了所有的冰:页面显示的表格块即9 ... 谁能帮助我呢????

1 个答案:

答案 0 :(得分:0)

您必须在应用程序的类路径中添加javax.faces.jar(mojarra)。 这个罐子附有Icefaces Libs

试试这个。