开发者

How to reference a list in a field object in JasperReports

I've got a datasource object that contains a Collection of other objects. For example I'm returning a Manager object that contains a List of Employees.

I'm returning back JRDataSource object of type Manager to the actual jasper report. I'm unclear开发者_Python百科 on how I can loop through the employees in the jasper report itself using the $F field tags.


I use a subreport to show the objects of the Collection use new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{the collectin}) as the subreport's data sourse expression

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜