2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: the_nerd - the_nerd How to create in-memory JRDesignSubreport? 2006-03-24 10:40hello, I`m trying to create a JasperDesign in-memory with several SubReports. --------------------- JRDesignSubreport designSubreport = new JRDesignSubreport(styleProvider); --------------------- Now I want to set the values for: - "DataSourceExpression" and the - "ParameterMapExpression" I can`t figure out how to pass a HashMap to the method --------------------- - designSubreport.setParametersMapExpression(...); ----------------------- and an Object implementing the interface JRDataSource to the method ---------------------------- - designSubreport.setDataSourceExpression(...) -------------------------- Both of them needs a JRExpression as a parameter and I don`t know how to use this.... It would be very nice if someone can help me :) 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