File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets 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

 
 
subject: Primeface Chart data problem
 
Similar Threads
DataTable datas are not actual
Facelets and JSF
JSF, Facelets losing context after reload
json object send to JSF backing bean to xhtml page
hiding pages behind WEB-INF?