wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Primeface Chart data problem
 
Similar Threads
hiding pages behind WEB-INF?
json object send to JSF backing bean to xhtml page
DataTable datas are not actual
Facelets and JSF
JSF, Facelets losing context after reload