Charts are not showing up in Chrome

UI Components for JSF
Post Reply
ashishind
Posts: 5
Joined: 11 Aug 2009, 12:18

25 Aug 2009, 16:07

I am able to use primefaces charts componenet in my Richfaces application successfully, and it works properly in Firefox and IE but its not visible in Chrome.
Any guesses.

Thanks and Regards,
Ashish Shrivastava
Impetus Infotech (I) Pvt. Ltd.
Senior Software Engineer
18 Palasia, 6th Floor Onam Plaza, Indore, MP India 452002

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

25 Aug 2009, 16:33

Are you using facelets? If so try setting contentType on f:view;

Code: Select all

<f:view contentType="text/html">

ashishind
Posts: 5
Joined: 11 Aug 2009, 12:18

25 Aug 2009, 17:13

It worked.
Thanks a Lot !!

Thanks and Regards,
Ashish Shrivastava
Impetus Infotech (I) Pvt. Ltd.
Senior Software Engineer
18 Palasia, 6th Floor Onam Plaza, Indore, MP India 452002

unlud
Posts: 6
Joined: 06 May 2009, 05:04

30 Aug 2009, 02:53

Hello,

I have a similar issue with Chrome but I don't use f:view, I use ui:composition (Facelets UI Tag Library). Would you have a solution for this situation?

thank you

Ludovic

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

30 Aug 2009, 03:32

Hi, as I understand you're using ui:compositon with a template right? If so the best way to define the f:view is your template. Here's an example that I use in prime-showcase application. Following is the template;

http://code.google.com/p/primefaces/sou ... late.xhtml

Any page using this template will have the text/html content type in facelets. Unlike JSP, f:view is not a must with facelets but it's still handy for cases like this.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 52 guests