Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Open Source Projects
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Other Open Source Projects
jasper
Amol More
Ranch Hand
Posts: 39
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi guys
i am creating a simple report i have written the jrxml code and it is compiling fine but i am getting a blank report , when i am using ireport to view the jrxml i get this error
"The document has no pages"
<?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Firststrxmldb" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <title> <band height="79" splitType="Stretch"> <staticText> <reportElement x="241" y="27" width="100" height="20"/> <textElement/> <text><![CDATA[TraTel]]></text> </staticText> </band> </title> <pageHeader> <band height="56" splitType="Stretch"> <staticText> <reportElement x="210" y="14" width="100" height="20"/> <textElement/> <text><![CDATA[Retailer Details ]]></text> </staticText> </band> </pageHeader> <columnHeader> <band height="30" splitType="Stretch"> <staticText> <reportElement x="60" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[transaction_dist_id]]></text> </staticText> <staticText> <reportElement x="120" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[distributor_name]]></text> </staticText> <staticText> <reportElement x="180" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[retailer_name]]></text> </staticText> <staticText> <reportElement x="240" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[trans_amount]]></text> </staticText> <staticText> <reportElement x="300" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[dist_avail_limit]]></text> </staticText> <staticText> <reportElement x="360" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[description]]></text> </staticText> <staticText> <reportElement x="420" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[trans_type]]></text> </staticText> <staticText> <reportElement x="480" y="0" width="69" height="24"/> <textElement/> <text><![CDATA[created_by]]></text> </staticText> </band> </columnHeader> <detail> <band height="91" splitType="Stretch"> <staticText> <reportElement x="60" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[33]]></text> </staticText> <staticText> <reportElement x="120" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[Pankaj]]></text> </staticText> <staticText> <reportElement x="180" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[Kaushal_2]]></text> </staticText> <staticText> <reportElement x="240" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[500.0000]]></text> </staticText> <staticText> <reportElement x="300" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[377.5000]]></text> </staticText> <staticText> <reportElement x="360" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[LOAD SUCCESS]]></text> </staticText> <staticText> <reportElement x="420" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[DEBIT]]></text> </staticText> <staticText> <reportElement x="480" y="0" width="69" height="24"/> <textElement verticalAlignment="Bottom"/> <text><![CDATA[SYSTEM]]></text> </staticText> </band> </detail> </jasperReport>
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
exported Jasper Report has different look than preview in IReport designer
Unable to export Jasper Report in html format.
Showing blank page while running the report in Jasper
PDF with jsf
jasper report- error
More...