Questions Tagged With primefaceshttps://answers.axonivy.com/tags/primefaces/?type=rss&user=zenooquestions tagged <span class="tag">primefaces</span>enThu, 06 Apr 2017 09:12:42 -0400pe:gChart browser shows no content until refreshedhttps://answers.axonivy.com/questions/2572/pe-gchart-browser-shows-no-content-until-refreshed<p>Hi</p> <p>when loading a page with a pe:gChart my browser turns white and I get the following browser console error:</p> <p>"Uncaught Error: The container #form:j_id_6c:chartForm:gChart is not defined."</p> <p>After refreshing the page (F5) everything works fine, the chart is displayed correctly etc.</p> <p>Code:</p> <pre><code> &lt;h:form id="chartForm" style="text-align: center;"&gt; &lt;div id="gChartDiv"&gt; &lt;pe:gChart value="#{data.testModel}" title="Test" rendered="#{!data.noDataYet}" id="gChart"&gt; &lt;/pe:gChart&gt; &lt;/div&gt; &lt;/h:form&gt; </code></pre> <p>Already posted on primefaces forums <a title="here" href="https://forum.primefaces.org/viewtopic.php?f=14&amp;t=50285&amp;p=154488#p154488/">here</a>, but since the pfe and pf versions are set in ivy they couldn't really help.</p> <p>Any idea on fixing this?</p> <p>Cheers</p>zenooThu, 06 Apr 2017 09:12:42 -0400https://answers.axonivy.com/questions/2572/pe-gchart-browser-shows-no-content-until-refreshedprimefaces