Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #35087 Back to Issue ]
Summary 0035087: ReportingUtils should have a public getBaseDesign() method
Revision 2017-01-30 17:25 by vmromanos
Description In BaseReportActionHandler there is the possibility to override getReportTemplatePath() method to provide a custom JRXML template path.

However there is no easy way to recover the @basedesign@ that must be concatenated before the JRXML path.

Example:
@basedesign@: /src-loc/design
jrxml path: /org/openbravo/erpCommon/ad_reports/AgingScheduleHTML.jrxml
returned by getReportTemplatePath(): /src-loc/design/org/openbravo/erpCommon/ad_reports/AgingScheduleHTML.jrxml


A public static method called getBaseDesign() in ReportingUtils should be created to return the @basedesign@, in the example /src-loc/design
Revision 2017-01-30 17:23 by vmromanos
Description In BaseReportActionHandler there is the possibility to override getReportTemplatePath() method to provide a custom JRXML template path.

However there is no easy way to recover the @basedesign@ that must be concatenated before the JRXML path.

Example:
@basedesign@: /src-loc/design
jrxml path: /org/openbravo/erpCommon/ad_reports/AgingScheduleHTML.jrxml


A public static method called getBaseDesignPath() in ReportingUtils should be created to return the @basedesign@, in the example /src-loc/design


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker