• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Primeface Chart data problem

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic