Jsf JBoss Richfaces ModalPanel-基于条件的调用
我正在使用JBoss Richfaces 我需要调用rich:modalPanel 当特殊情况发生时 示例代码在这里- 这是莫达帕内尔Jsf JBoss Richfaces ModalPanel-基于条件的调用,jsf,Jsf,我正在使用JBoss Richfaces 我需要调用rich:modalPanel 当特殊情况发生时 示例代码在这里- 这是莫达帕内尔 <rich:modalPanel id="show_alert" height="125" width="325" zindex="2000"> <h:outputText value="shamik testing"/><br/> <a4j:comman
<rich:modalPanel id="show_alert" height="125" width="325" zindex="2000">
<h:outputText value="shamik testing"/><br/>
<a4j:commandButton value="#{uiLabel.no}" onclick="# {rich:component('show_alert')}.hide()" styleClass="button"/>
</rich:modalPanel>
我想在有人单击此链接时显示模式面板
<a4j:commandLink value="#{uiLabel.config_ret}" id = "aaa"
actionListener="#{aging.configureRetention}" reRender="cp_tab_form">
<rich:componentControl for="show_alert" attachTo="aaa" operation="show" event="onclick"/>
</a4j:commandLink>
我试图使operation={bean.cond},以便动态地显示操作的名称。但不起作用
我想在bean.cond=false时调用operation=hide
当bean.cond=true时,and operation=show
我可能在这里做了一些非常愚蠢的事情:-很抱歉发布了它。。我没有重新提交commandLink:-很抱歉。您还可以使用a4j:commandLink的data属性返回bean.cond的值