How are you doing data querying/preparation for this report? I didn't see that in what you wrote up...

-David


On Jan 17, 2008, at 5:18 AM, Ravi Subramanian wrote:

Hi,

I am trying to deploy a custom report in ofbiz application.

I have created a JRXML report template using iReport and in the
controller.xml i have added the following handler

   <handler name="jasperreportspdf" type="view"
class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>

The request-uri definition for the report in controller.xml is

<request-map uri="AccountsReport.pdf">
       <security https="true" auth="true"/>
       <response name="success" type="view" value="AccountsReport"/>
</request-map>

The corresponding view-map is

<view-map name="AccountsReport" type="jasperreportspdf"
page="/reports/repository/Accounts.jrxml" content-type="application/ pdf"
encoding="none"/>

When i access the url i am getting the template of the report but no
rows are returned. But for the corresponding query in the database a
result set containing some rows is being returned. The accessing of the
data is not taking place.

Someone assist me with this please.

Thanks,
Ravi Subramanian.


Reply via email to