DynamicJasper icon indicating copy to clipboard operation
DynamicJasper copied to clipboard

Can't see how to use arbitrary dataSourceExpression

Open salk31 opened this issue 8 years ago • 0 comments

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

salk31 avatar Nov 30 '17 11:11 salk31