Jsf 有没有办法禁用rich:popupPanel的默认滚动条
我使用的是Jsf 有没有办法禁用rich:popupPanel的默认滚动条,jsf,jsf-2,richfaces,jsf-2.2,Jsf,Jsf 2,Richfaces,Jsf 2.2,我使用的是标签,rich:当数据很大时,弹出面板提供默认的滚动条,我使用的是我的自定义滚动条而不是这个。 有没有办法隐藏标签提供的默认滚动条 <rich:popupPanel id="termEditPanel" followByScroll="true" autosized="true" modal="true" resizeable="false"
标签,rich:当数据很大时,弹出面板提供默认的滚动条,我使用的是我的自定义滚动条而不是这个。
有没有办法隐藏标签提供的默认滚动条
<rich:popupPanel id="termEditPanel"
followByScroll="true"
autosized="true"
modal="true"
resizeable="false"
moveable="false"
styleClass="popup term-editor-panel"
rendered="#{agreements.agreement.editable}"
zindex="1000">
您可以将下一个样式添加到页面,以覆盖本地richfaces弹出式样式
<h:outputStylesheet>
.rf-pp-cnt-scrlr {
overflow: hidden !important;
}
</h:outputStylesheet>
.rf pp碳纳米管SCRL{
溢出:隐藏!重要;
}
还是使用风格
<rich:popupPanel id="category"
modal="true"
resizeable="false"
autosized="false"
width="300"
height="300"
styleClass="popUpMain"
style="overflow:hidden !important;"
domElementAttachment="form"
onmaskclick="#{rich:component('category')}.hide()">