I'm using a primefaces dialog:
<h:form>
<p:dialog widgetVar="dialog" modal="true" resizable="false">
<p:outputLabel value="Mensagem qualquer."/>
<p:commandButton value="Botão 1" action="#{chama um método no ManagedBean}"/>
<p:commandButton value="Botão 2" action="#{chama um método no ManagedBean}"/>
</p:dialog>
<p:link value="Abrir caixa de diálogo." onclick="PF('dialog').show()"/>
<h:form>
I was watching as I hovered over the <p:link/>
the page address appears in the footer as if it were a redirect.
Why does this happen? There is no URL. How can I resolve?