Two Laptop Bag*
The moose likes JSF and the fly likes Primeface Chart data problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primeface Chart data problem" Watch "Primeface Chart data problem" New topic
Author

Primeface Chart data problem

Karoly Guba
Greenhorn

Joined: Dec 09, 2011
Posts: 5
Hi!

I use primeface Chart element to present how many clients enters in an office on a time period. For example today 25 client, yesterday 42 client etc.

I get this list from a database, but primeface chart needs datamodel and I have only pure list element.

Here is the source code:






The managed bean is:




and the JSF is:



But this gives me empty chart!

My question is how to put datas from database to chart element in this case?


Thanks

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Primeface Chart data problem
 
Similar Threads
hiding pages behind WEB-INF?
JSF, Facelets losing context after reload
Facelets and JSF
DataTable datas are not actual
json object send to JSF backing bean to xhtml page