get nested field from a beandatasource

By: subesingh - subesingh1
get nested field from a beandatasource
2006-04-18 07:02

In my report I have used bean as datasource. But in my bean class some of objects are nested. One filed contain the value of another. there is no get method for the field.

For example in my application Meter objects contain the value of SDCode and SDName. Bean class has the get method of meter but there is not get method for sdname and sdcode.

Can any give me idea how to do it.

With Best Regards,
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 16 years 10 months ago

1 Answer:


Could you please clarify if SDCode & SDName are public properties of the Meter class? if yes then you can access those propeties by refering to them as 

"meter.sdcode" and "meter.sdname" while defining the fields in the report.



nava.krishnam's picture
Joined: Apr 15 2013 - 1:06pm
Last seen: 7 years 5 months ago