boa noite estou com o seguinte problema: tenho que colocar varios dialog
dentro de um panelGrid so que quando eu clico em um todos os outros
dialog sao abertos, o que to fazendo de errado nesse codigo:
<p:panel header="#{noticia.titulo}" style="text-align:center">
<h:panelGrid columns="1" style="width:100%">
<h:outputText value="#{noticia.chamadaNoticia}" />
<h:outputText value="#{noticia.dataNoticia}" />
<p:commandButton id="effectsDialogButton" value="Effects" onclick="dlg3.show();" type="button" />
</h:panelGrid>
<p:dialog header="Effects" widgetVar="dlg3" showEffect="explode" hideEffect="bounce" height="100">
<h:outputText value="#{noticia.dataNoticia}" />
</p:dialog>
</p:panel>