pe:gChart whitescreen

Community Driven Extensions Project
Post Reply
zenosaurusflex
Posts: 4
Joined: 04 Apr 2017, 09:50

04 Apr 2017, 10:09

Hi

when loading a page with a pe:gChart my browser turns white and I get the following browser console error:

"Uncaught Error: The container #form:j_id_6c:chartForm:gChart is not defined."

After refreshing the page (F5) everything works fine, the chart is displayed correctly etc.

Code: Select all

<h:form id="chartForm" style="text-align: center;">

		<div id="gChartDiv">
			<pe:gChart value="#{data.testModel}" title="Test"
				rendered="#{!data.noDataYet}" id="gChart">
			</pe:gChart>
		</div>
	</h:form>
Any help apprectiated
Last edited by zenosaurusflex on 05 Apr 2017, 13:38, edited 1 time in total.

User avatar
Melloware
Posts: 160
Joined: 22 Apr 2013, 15:48

05 Apr 2017, 13:02

What version of PFE and PF are you using?
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1 / PF Extensions 6.1.0

zenosaurusflex
Posts: 4
Joined: 04 Apr 2017, 09:50

05 Apr 2017, 13:25

PFE: 4.0.0
PF: 5.3

User avatar
Melloware
Posts: 160
Joined: 22 Apr 2013, 15:48

05 Apr 2017, 13:28

OK unfortunately that is an old version and there have been some fixes to PFE and gChart since then. Is there any way you can try with PF + PFE 6.0?
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1 / PF Extensions 6.1.0

zenosaurusflex
Posts: 4
Joined: 04 Apr 2017, 09:50

05 Apr 2017, 13:59

Sadly this isn't an option right now.

User avatar
Melloware
Posts: 160
Joined: 22 Apr 2013, 15:48

05 Apr 2017, 14:26

OK well that means you will probably have to debug and patch PFE 4.0.0 yourself if you can fix it. Or look at the latest code in Github for GChart and try and backport it to PFE4.0.0.

Sorry!
PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces 6.1 / PF Extensions 6.1.0

zenosaurusflex
Posts: 4
Joined: 04 Apr 2017, 09:50

05 Apr 2017, 14:45

Alright, thanks anyway :^ )

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests