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.
JFreeChart
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes unfortunately I guess so as well. Spring webflow support is definitely something we'll improve in future.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You can try core PrimeFaces charts by the way instead if p:graphicImage solution.
This "import" code is on the ShowCase example. It didnt exist now in PrimeFace2.00.
new import line is here:
Tuvshin
Code: Select all
import org.primefaces.ui.model.io.DefaultStreamedContent;
import org.primefaces.ui.model.io.StreamedContent;
Code: Select all
import org.primefaces.model.DefaultStreamedContent;
import org.primefaces.model.StreamedContent;
Tuvshin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
This post seems old, I'd appreciate if you create a new post instead of continuing old posts in future.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 26 guests