JFreeChart

UI Components for JSF
thecid
Posts: 8
Joined: 03 Nov 2009, 18:17

05 Nov 2009, 11:09

oh... i really thought that the resource servlet served this purpose...
now i don't know how it could possibly work since the request for the image goes through the standard path (dispatcher servlet, handler mapping, flow controller, ...). Do you have any working example of Primefaces with Spring WebFlow ? Or do you know about somebody who tried these two technologies together and was successful ?

btw: what did you mean by this : Can you see with firebug what the chart img src request returns meaning; ?

Thanks.

thecid
Posts: 8
Joined: 03 Nov 2009, 18:17

05 Nov 2009, 11:42

I think the problem is Spring Centric approach in integration of Spring and JSF. I see that in your example you use JSF centric approach.
I don't use Faces Servlet (JSF controller capabilities). Instead I use Spring MVC stuff (Dispatcher Servlet, ...).

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

06 Nov 2009, 02:37

Yes unfortunately I guess so as well. Spring webflow support is definitely something we'll improve in future.

thecid
Posts: 8
Joined: 03 Nov 2009, 18:17

06 Nov 2009, 13:10

OK. I'll try to find other solution.
Anyway... Thank you very much again for your time and effort.

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

06 Nov 2009, 14:09

You can try core PrimeFaces charts by the way instead if p:graphicImage solution.

Tuvshin09
Posts: 93
Joined: 19 Feb 2010, 11:59

22 Mar 2010, 15:36

This "import" code is on the ShowCase example. It didnt exist now in PrimeFace2.00.

Code: Select all

import org.primefaces.ui.model.io.DefaultStreamedContent;  
import org.primefaces.ui.model.io.StreamedContent;  
new import line is here:

Code: Select all

import org.primefaces.model.DefaultStreamedContent;
import org.primefaces.model.StreamedContent;
:)
Tuvshin

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

23 Mar 2010, 15:37

Source code seems a bit outdated, thanks for the update, we'll fix it.

This post seems old, I'd appreciate if you create a new post instead of continuing old posts in future.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests