Jasper Report: support loading of jasper report file from non-fragment bundle
Description
As it is, to use the bundle: and resource: syntax, you must create your plugin as a fragment plugin with "org.adempiere.report.jasper" as the Host Plug-in. This ticket add a new syntax to make the fragment plugin requirement optional.
Current syntax:
bundle:JasperReportFileName
resource:JasperReportFileName
New syntax added by this ticket:
bundle:bundleSymbolicName:JasperReportFileName
resource:bundleSymbolicName:JasperReportFileName
Environment
None
Activity
Heng Sin Low November 15, 2023 at 5:29 AM
Changes added to
Carlos Ruiz November 9, 2023 at 11:54 AM
Do we have a template for How to page ?
I don’t think so, sometimes what I have done is simply rename the page, when a feature is explained in a general way and it covers several versions, then the “New Feature version X” doesn’t make sense anymore.
Heng Sin Low November 9, 2023 at 11:32 AM
Should work for resource bundle too.
Do we have a template for How to page ?
Carlos Ruiz November 8, 2023 at 12:31 PM
Flagged as pending documentation
Can it be maybe adding the information to and explaining that is for release-11 - or changing the page from a New Feature to a How To
Is the new method also applicable for resources like explained at ?
As it is, to use the bundle: and resource: syntax, you must create your plugin as a fragment plugin with "org.adempiere.report.jasper" as the Host Plug-in. This ticket add a new syntax to make the fragment plugin requirement optional.
Current syntax:
bundle:JasperReportFileName
resource:JasperReportFileName
New syntax added by this ticket:
bundle:bundleSymbolicName:JasperReportFileName
resource:bundleSymbolicName:JasperReportFileName