How to configure rime style in ICEfaces 3

℡╲_俬逩灬. 提交于 2019-12-12 04:48:00

问题


in icefaces 2 i was configuring rime style as follows:

<h:head>
  <link href="./xmlhttp/css/xp/xp.css" rel="stylesheet" type="text/css"/>
</h:head>

<h:body styleClass="ice-skin-rime">
</h:body>
<h:outputStylesheet library="org.icefaces.component.skins" name="rime.css" />

and i was wondering how to configure it in icefaces 3 because i tried the following and it doesn't work

<context-param>
        <param-name>org.icefaces.ace.theme</param-name>
        <param-value>rime</param-value>
    </context-param>

please advise thanks.


回答1:


You can do it the same way as you did it for xp.css, try

<h:head>
  <link rel="stylesheet" type="text/css" href="/xmlhttp/css/rime/rime.css" />
</h:head>

it should work, let me know if you still have any issues, make sure you have /xmlhttp rather than ./xmlhttp



来源:https://stackoverflow.com/questions/9768194/how-to-configure-rime-style-in-icefaces-3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!