Based on this blog entry I'm trying to display a Google Chart inside a Primefaces dialog box.
My xhtml file:
My backing bean:
My chart renderer:
With above code, when I press my button the dialog box shows up but is empty. The method `buildHistory` is called before the renderer but my chartModel is empty i.e. if I look at the source code, no row has been added to my chart. But in this particular case an empty chart should be displayed anyway.
If I add `ajax="false"` to my button, the dialog box doesn't show up at all but my chartModel is populated i.e. in the source code I see the code of my chart and if I copy paste the code of the chart into an HTML file it works...
Note also that if I don't put the chart inside the dialog box I get the expected result:
Am I missing something? Can someone give me a hint?