您的位置:首页 > 其它

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

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: