nathalie Posted July 23, 2013 Share Posted July 23, 2013 Hello everyone, I'm searching to fill a dataset with an empty datasource to display some images in a table (TableComponent) without any data to query. Actually I'm trying to replace this line of a jrxml : <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.JREmptyDataSource(1)]]></dataSourceExpression>by a Java code line, but I don't know what JRExpression I need to create to fill the parameter of the method setDataSourceExpression of the class JRDesignDatasetRun.If someone can help me please... Nath Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now