Hi again,
and another problem
I am Using:
iReport 3.52
Servoy 4.13
JasperPlugin for Servoy 3.0.0
I am trying to fire a Jasper Report from Servoy with the JasperPlugin.
First Problem:
The Report i am trying to migrate and fire via Servoy gives me an exception:
Can't find bundle for base name company_companyprofiles, locale de_DE
at C:\PATH\projektlizenznehmer_methods.js:102 (meth_rpt_firmenprofile)
method looks like this:
function meth_rpt_firmenprofile()
{
var params = new java.util.HashMap();
var datumsinfo2 = new Date();
params.put('projektid',forms.projektlizenznehmer.projektid);
plugins.jasperPluginRMI.jasperReport(controller.getServerName(), "company_companyprofiles.jasper", null, "viewer", params);
var thePressedButton = plugins.dialogs.showInfoDialog('Report', 'Die PDF-Datei ist zu finden unter c:\\reports\\Firmenprofile'+ projektid +'date'+ datumsinfo2.getDate()+'_' + (datumsinfo2.getMonth()+1) +'_'+ datumsinfo2.getFullYear()+'_'+ datumsinfo2.getHours() + '_' + datumsinfo2.getMinutes() +'.pdf','OK');
}
But if i run the Report in iReport, everything works fine.
So i created a really simple Report, with an I18N *.properties File as well.
The Properties File looks like this:
Identifier=Value
Now here is the courious thing.
If i run the ServoyTest Report, the ServoyTest.properties File seems to be found, but it doesnt take effect…
Means:
In iReport the filled Report shows
Value
``` but when fired from Servoy, it shows:
!Identifier!
Can anybody help me out of this trap?
Thanks in advance
GevatterTod