iReport getting Date Field from bean problem

0

i have to generate my report from a list of bean as a data source, in my bean i have a field of Date Type

My problem is that  when i do my Report query and i put the class name JavaBean Data Source -> Class Name-> read attributesthe field of type Date that exist in my bean doesn't appear, although the other  fields in my bean was all  read.

Can you help me please ?? Thank you.

 

 

belhouene.tarek's picture
Joined: Apr 25 2013 - 2:01am
Last seen: 5 years 7 months ago

1 Answer:

0

Should work. Check if there's any error messages. Especially check if the date format is correct.

If you're still having problem and just can't figure it out, try saving it as a String.

hozawa's picture
52392
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 6 days ago

i checked there is no error, this is my field declaration in my bean :
public Date stato = new Date();

belhouene.tarek - 5 years 7 months ago
Feedback
randomness