richfaces modalPanel 添加滚动条
来源:互联网 发布:莱州广电宽带网络收费 编辑:程序博客网 时间:2024/06/13 13:17
把rich:modalPanel当做是一个div看待。
如下:
<rich:modalPanel id="panel" style="height:500px;overflow-y:auto;overflow-x:hidden" autosized="true" minWidth="400" height="500">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="测试模式框"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/uilib/.../close.png" styleClass="hidelink" id="hidelink"/>
<rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<h:outputText value="22222222"></h:outputText>
...............
<h:outputText value="22222222"></h:outputText>
</rich:modalPanel>
上述代码只是在使用rich:modalPanel时另外添加如下css:
height:500px;overflow-y:auto;overflow-x:hidden
这里只让垂直滚动条显示,水平滚动条不显示
- richfaces modalPanel 添加滚动条
- richfaces modalPanel例子
- richfaces的modalPanel用法注意事项
- richfaces标签modalPanel的隐藏
- Richfaces 中<rich:modalPanel />开启与关闭方式
- 添加滚动条.doc
- 如何添加滚动条
- 表格 添加 滚动条
- JTextArea 添加滚动条
- Gridview 添加滚动条
- TextView 添加滚动条
- div添加滚动条
- JTextArea添加滚动条
- div 添加滚动条
- wpf 添加滚动条
- div 添加滚动条
- gridview添加滚动条
- gridview 添加滚动条
- 虚拟机使用笔记_VMware Workstation unrecoverable error: (svga)
- Eric4配置python3
- 基于单链表的快速排序
- 纯 C++ 代码创建并保存 EXCEL 文件
- hdfs命令操作
- richfaces modalPanel 添加滚动条
- 从HTML5移动应用现状谈发展趋势
- dfgdsg
- Tomcat 启动时出现的问题
- Kent Beck揭秘Facebook开发部署流程
- 打印设置IE打,浏览器默认是启用缩小字体填充
- Android UI之三个Button按钮仿Iphone效果
- js获得当前年月最大天数
- C++ vector 用法(#include <vector>)