Hi Ravi,

We are currently using Jasper Report in our project successfully. Although I am 
not able to an image on the report (looks like jasper report is unable to find 
the image what it tries to generate the pdf). 

How do you pass data to your report? In my case, I use java to prepare the data 
to be passed to the report. 

Regards,
Mathius
----- Original Message ----
From: David E Jones <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 17, 2008 11:39:07 PM
Subject: Re: Deploy custom jasperreports in ofbiz


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.
>


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to