【发布时间】:2012-03-18 13:14:49
【问题描述】:
您好,当使用 icefaces 2 时,下图是我的标签页的外观
迁移到 icefaces 3 后,我的标签页如下所示:
ace:tabSet 代码:
<ace:tabSet clientSide="true" id="permissionsTab">
<c:forEach items="#{myBean.tabs}" var="tab" varStatus="loop">
<ace:tabPane>
<f:facet name="label">#{tab.name}</f:facet>
<div style="height:180px; overflow:auto;">
<h:selectManyCheckbox value="#{tab.values}" layout="pageDirection" >
<f:selectItems value="#{tab.checkBoxes}" />
</h:selectManyCheckbox>
</div>
</ace:tabPane>
</c:forEach>
</ace:tabSet>
-这就是我如何使用 icefaces 2 的皮肤:
<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" />
当我搬到 icefaces 3 时,我不得不删除以下行:
<h:outputStylesheet library="org.icefaces.component.skins" name="rime.css" />
请告知如何修复 icefaces 3 中的样式。
【问题讨论】:
-
我打赌这里的问题是与不兼容的
rime.css,你能添加icefaces 3 兼容rime.css看看是否能解决问题? -
你将不得不寻找与 icefaces 3 兼容的 rime.css 并查看你的 css 是相同的还是不同的,如果不同,那么你可能需要检查你拥有的 jar 的版本。
-
如果你没有适当的相关罐子,icefaces 会做一些讨厌的事情......
标签: icefaces