Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 有没有办法禁用rich:popupPanel的默认滚动条_Jsf_Jsf 2_Richfaces_Jsf 2.2 - Fatal编程技术网

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()">