2012-03-19 61 views
0

我试图使用ICEfaces的3,和配置雾凇主题如下:ICEfaces的,但H:头和h:主体组件是必需的

org.icefaces.ace.theme 雾凇

但我得到以下警告:

Mar 19, 2012 4:57:04 PM org.icefaces.impl.event.BridgeSetup isListenerForSource 
WARNING: ICEfaces configured for view /xmlhttp/css/rime/css-images/bullet.gif but h:head and h:body components are required 

请告知。

回答

0

这只是表示您正在加载一个没有定义<h:head><h:body>的页面。这样做:

<?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"> 
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" 
    xmlns:ace="http://www.icefaces.org/icefaces/components" 
    xmlns:ice="http://www.icesoft.com/icefaces/component"> 

<h:head> 
    <title>MyPage</title> 
</h:head> 

<h:body> 
    <!-- put your icefaces stuff in here --> 
</h:body> 
</html>