I am trying to open a dialog box in JSF using p:commandLink
<p:commandLink id="linkId" update="@this someDialogId" value="open dialog" action="#{someBean.someAction(id)}"/>
<p:dialog closable="true" id="someDialogId" closeOnEscape="true" maximizable="true" minimizable="true" fitViewport="true" modal="true" header="Task Details" rendered="#{someBean.displayDiag}" visible="#{someBean.displayDiag}" >
// Something displayed
</p:dialog>
But nothing happens when I click over the p:commandLink ?
This p:commandLink and p:dialog are located in different div's inside the same form.