Hi,<br />
<br />
First I would like to describe the whole situation here.<br />
<br />
I am using ofbiz 11.04 trunk + Freemarker. I want to use the birt component provided by ofbiz.<br />
<br />
whenever i user the birt.tld file in my .ftl file like<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
<#assign birt = JspTaglibs["/WEB-INF/birt.tld"]/>
<
@birt.report id="birtReport"
reportDesign="component://example/webapp/birt/report/1.rptdesign"
baseURL="/birt"
height="700"
width="900"
format="html"
isHostPage="false"
pageNum="2"
showParameterPage="false">
<
@birt.param name="month_year" value="${requestParameters.monthyear}"></
@birt.param>
</
@birt.report>
</pre>
<br />
it is not working. If I delete the "birt.param" line it works fine and generating the report in "html" format and the same with parameter is working fine in jsp but not in ftl.<br />
<br />
but if I choose to display in pdf format. It shows the error message "File does not start with %PDF-";<br />
<br />
I have tried everything.<br />
<br />
please help me..