
|
If you were logged in you would be able to see more operations.
|
|
|
|
Time Tracking:
|
|
Original Estimate:
|
0.12d
|
|
|
Remaining Estimate:
|
0.12d
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
|
Environment:
|
Documentation
|
|
|
In the Spring Reference Documentation, section 14.7.4.1, is described how to configure subreports for the JasperReports view technology. However, most of the examples of the rest of the chapter refer to a ResourceBundle configuration, while the example in this section refer to a xml configuration. The correct configuration to use when choosing the ResourceBundle is not obvious, so it would be very helpful to add an example that shows how to prepare the same configuration in both methods.
In the specific case, the example would read something like:
simpleReport.subReportUrls=ProductsSubReport=/WEB-INF/reports/subReportChild.jrxml
Failure to understand this subtlety leads to incorrect configuration that leads to a confusing error message (perhaps worth of another small jira) on the lines of 'Report URL [/WEB-INF/reports/DataSourceReport.jrxml] must either in .jasper or .jrxml' thrown from AbstractJasperReportsView.java:529.
Just a small edit of the documentation would close this issue.
|
|
Description
|
In the Spring Reference Documentation, section 14.7.4.1, is described how to configure subreports for the JasperReports view technology. However, most of the examples of the rest of the chapter refer to a ResourceBundle configuration, while the example in this section refer to a xml configuration. The correct configuration to use when choosing the ResourceBundle is not obvious, so it would be very helpful to add an example that shows how to prepare the same configuration in both methods.
In the specific case, the example would read something like:
simpleReport.subReportUrls=ProductsSubReport=/WEB-INF/reports/subReportChild.jrxml
Failure to understand this subtlety leads to incorrect configuration that leads to a confusing error message (perhaps worth of another small jira) on the lines of 'Report URL [/WEB-INF/reports/DataSourceReport.jrxml] must either in .jasper or .jrxml' thrown from AbstractJasperReportsView.java:529.
Just a small edit of the documentation would close this issue. |
Show » |
|
I will try this solution later.
Thanks.