I am trying gets the report from database for which i hv used Ireport design generator.
when i tried to implement following code in my app i gets error like:
simplexml_load_file(): I/O warning : failed to load external entity "sites/report2.jrxml"
my code is:
public function actionReport()
$AReport = new IReport('report2.jrxml');
$AReport->parameters = array("parameter1"=>1);
Where in your application structure is the file report2.jrxml located?
Thanks for the reply Keith.
I got my problem and corrected it and its working fine.
But the problem is when i create a pdf file of report2.jrxml it only displays a dynamic data.
All the static fields, Titles, name are not displaying…
if anybody has solution for this prob. plz advice me…
I am using following iReport designer tool:
Product Version: Jaspersoft iReport Designer 5.5.1
Java: 1.7.0_11; Java HotSpot(TM) Client VM 23.6-b04
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (ireport)