richfaces modalPanel例子
2009-01-06 14:16
447 查看
modalPanel 使用:
<a href="#" onclick="#{rich:component('mp')}.show()">show panel</a>
<rich:modalPanel id="mp" minHeight="200" minWidth="450" height="200"
width="500" zindex="2000">
<f:facet name="header">
<h
![](http://images.5d6d.net/dz61/smilies/default/shocked.gif)
utputText value="Modal Panel Title" />
</f:facet>
<f:facet name="controls">
</f:facet>
<p>Any JSF content might be inside the panel. In case of using
Facelets or JSF 1.2, it might be any mixed content.</p>
<p>The RichFaces modal panel is good with <a4j:include> to
create a wizard like behavior.</p>
<p>The model panel is open and closed from the javascript
function on <i>Richfaces</i> object. The following code <a href="#"
onclick="#{rich:component('mp')}.hide()">hide this panel</a>:
<f:verbatim>#</f:verbatim>{rich:component('mp')}.hide()</p>
</rich:modalPanel>
<a href="#" onclick="#{rich:component('mp')}.show()">show panel</a>
<rich:modalPanel id="mp" minHeight="200" minWidth="450" height="200"
width="500" zindex="2000">
<f:facet name="header">
<h
![](http://images.5d6d.net/dz61/smilies/default/shocked.gif)
utputText value="Modal Panel Title" />
</f:facet>
<f:facet name="controls">
</f:facet>
<p>Any JSF content might be inside the panel. In case of using
Facelets or JSF 1.2, it might be any mixed content.</p>
<p>The RichFaces modal panel is good with <a4j:include> to
create a wizard like behavior.</p>
<p>The model panel is open and closed from the javascript
function on <i>Richfaces</i> object. The following code <a href="#"
onclick="#{rich:component('mp')}.hide()">hide this panel</a>:
<f:verbatim>#</f:verbatim>{rich:component('mp')}.hide()</p>
</rich:modalPanel>
相关文章推荐
- richfaces modalPanel 添加滚动条
- Richfaces rich:panelBar rich:panelBarItem rich:panelMenu
- Richfaces 中<rich:modalPanel />开启与关闭方式
- <rich:modalPanel/> 使用
- <rich:modalPanel/> 在seam框架下的具体应用
- JSF Component 选择:ICEfaces or RichFaces?
- Richfaces rich:effect
- 去掉gridPanel表头全选框的小例子
- Jboss RichFaces + Skin的简单运用示例代码
- richfaces uploadfile出现event.getUploadItem() item.getData()空值的问题解决方法
- EXT 一个panel与tree结合读数据库json格式的例子
- 微信小程序例子——使用modal组件弹出对话框
- RichFaces. Most Important Links
- Extjs4 TabPanel例子
- Coolite一个简单例子-GridPanel列表增删改预览
- Coolite一个简单例子-GridPanel列表增删改预览
- JSF richfaces的dataTable组件中filter在IE和Firefox下不兼容的问题
- bootstrap 模态 modal 小例子【转】
- Richfaces rich:fileUpload
- richfaces & trinidad.