Issue with primefaces dynamic dialog

Viewed 25

I have a dynamic Dialog with a CommandButton or an OutputLabel inside, using a value that takes time to generate. To avoid loosing time when loading the page, I used the dynamic param of the dialog. Unfortunately, my function is still called and the necessary time to display the page is very long.

<p:dialog dynamic="true">
  <h:outputText value="#{myBean.myFunction()}"/>
</p:dialog>

Any idea what the issue could be?

Using PF Version 11.0.7

1 Answers
Related