我正在尝试使用icefaces 3,并按如下方式配置rime主题:
org.icefaces.ace.theme rime 但我得到了以下警告:
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请给我建议。
发布于 2012-04-11 05:20:09
这只是意味着您正在加载一个既没有定义<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>https://stackoverflow.com/questions/9772482
复制相似问题