I am trying to reRender a non modal p:dialog with a4j to show data like this:
Code: Select all
<a4j:commandLink
onclick="if (!dialogIsOpened()) return false;"
actionListener="#{reportController.openDialog}"
reRender="dialogPanel"
status="ajaxLoadingStatusModal" ajaxSingle="true"
oncomplete="if (#{!empty(report.report)}) panelDLG.show();">
.
.
</a4j:commandLink>
Code: Select all
<a4j:outputPanel id="dialogPanel">
<p:dialog
resizeable="true" y="61" x="30" width="570" height="580" minWidth="500" minHeight="500" draggable="true" modal="false" resizable="true" close="false"
widgetVar="panelDLG"
rendered="#{!empty(report.report)}">
.
.
.
</p:dialog>
</a4j:outputPanel>
What could it be? How could I update the dialog content from richfaces?
Thanks in advance!