I can not open a rich: popPupPanel someone could help me my code is as follows
<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">
<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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.