Rich:poppuppanel不开放

时间:2014-09-09 14:27:53

标签: jsf richfaces

我无法打开富人:popPupPanel有人可以帮助我,我的代码如下

<a4j:commandButton  value="Pergunta" action="#{gameController.buscarPergunta()}" render="painelPergunta" ></a4j:commandButton>
    <a4j:outputPanel ajaxRendered="true" id="panelPopPup">
        <rich:popupPanel id="popup" modal="true" autosized="true" resizeable="false">
            <h:outputLabel value="testando..." />
        </rich:popupPanel>
    </a4j:outputPanel>

<a4j:commandButton value="Responder" actionListener="#{gameController.responder()}" oncomplete="#{rich:component('popup')}.show()}" render="painelPergunta panelPopPup">

1 个答案:

答案 0 :(得分:0)

<a4j:commandButton  value="Pergunta" SHOW="TRUE" action="#{gameController.buscarPergunta()}" render="painelPergunta" ></a4j:commandButton>
<a4j:outputPanel ajaxRendered="true" id="panelPopPup">
    <rich:popupPanel id="popup" modal="true" autosized="true" resizeable="false">
        <h:outputLabel value="testando..." />
    </rich:popupPanel>
</a4j:outputPanel>

FALTAVA O ATRRIBUTE SHOW