Jsf Rich:poppuppanel don';t打开
我不能打开一个rich:popPupPanel有人可以帮我我的代码如下Jsf Rich:poppuppanel don';t打开,jsf,richfaces,Jsf,Richfaces,我不能打开一个rich:popPupPanel有人可以帮我我的代码如下 <a4j:commandButton value="Pergunta" action="#{gameController.buscarPergunta()}" render="painelPergunta" ></a4j:commandButton> <a4j:outputPanel ajaxRendered="true" id="panelPopPup"> &l
<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">
FALTAVA O atribute SHOW能否从
{rich:component('popup')}.SHOW()中删除最后一个}
?
<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>