Closed GoogleCodeExporter closed 9 years ago
It looks like there is missing datasource parameter:
http://code.google.com/p/aperte-reports/wiki/ReportParameters#Report_datasource_
parameter
Please check if that helps.
This is AR-specific parameter, identifying JNDI datasource name which will be
used by query.
Thanks for issue report, we will think about some clear notification in such
case.
Original comment by zmalinow...@bluesoft.net.pl
on 25 Apr 2012 at 10:53
Hi, thank you for your reply.
For mentioned page, there is a mistake. The original is:
<parameter name="datasource" class="java.lang.String">
<parameterDescription><![CDATA[java:comp/env/jdbc/aperte-reports_production]]</parameterDescription>
</parameter>
Should be:
<parameter name="datasource" class="java.lang.String">
<parameterDescription><![CDATA[java:comp/env/jdbc/aperte-reports_production]]></parameterDescription>
</parameter>
So I add:
<parameter name="datasource" class="java.lang.String">
<parameterDescription><![CDATA[java:comp/env/jdbc/aperte-reports]]></parameterDescription>
</parameter>
Now the report generates well.
By the way, I generate .xls file. For date column, I choose Chinese format. I
can use iReport to do. But for Aperte Report, it can not work correctly. The
date column is filled by some double number, for example 41007.5448148148.
Other Chinese data column is correct.
Original comment by njche...@gmail.com
on 25 Apr 2012 at 11:44
Original issue reported on code.google.com by
njche...@gmail.com
on 24 Apr 2012 at 3:18Attachments: