DynamicJasper
DynamicJasper copied to clipboard
Can't see how to use arbitrary dataSourceExpression
I think vanilla jrxml lets me put in a fragment of Java. I'd like to do this so I can't create a specific bean.
e.g.
subreport.setDatasource(new DJDataSource("new foo.BarJRDataSource()", ???, DJConstants.DATA_SOURCE_TYPE_COLLECTION));
I think a simple new constant and a tweak to the getDataSourceExpression would allow this quite simply if not too evil?
Many thanks
Sam