Defect #347
i18n breaks on subreports
Start date:
07/26/2011
Due date:
% Done:
0%
Estimated time:
Browser (if web client):
Description
Using the latest version of the plugin, and using FoundSet reports with subreports (as described here: https://www.servoyforge.net/projects/servoy-jasperreports/wiki/Servoy_JasperReports_Plugin_v320_-_Release_Notes ) , i18n breaks on the subreports.
So if you place a field with $R{my.i18n.key} it will work on the main report, but not on the subreports.
History
Updated by Andrei Costache over 13 years ago
- Status changed from New to In Progress
- Assignee set to Andrei Costache
Hi Scott,
It should work if you have add the REPORT_RESOURCE_BUNDLE as a parameter for the subreport. Add this to your main report:
<subreportParameter name="REPORT_RESOURCE_BUNDLE"> <subreportParameterExpression><![CDATA[$P{REPORT_RESOURCE_BUNDLE}]]></subreportParameterExpression> </subreportParameter>
Hope this helps.
Regards,
Andrei
Updated by Imre Tokai over 13 years ago
Hello,
Is there anything else to configure? I get null when try to display $R{my.i18n.key} in subreport.
Have I missed sg?
http://forum.servoy.com/viewtopic.php?f=15&t=11639
Regards