I have a fully functional report (ie Shows title, shows group headers and details just fine, but none of the footer bands (ie pageFooter, lastpageFooter, or summary) get displayed on any of the output formats (ie jrviewer, pdf, etc). To test I am simply putting static text in the page footer. The pageFooter band has a height of 30 and the font size is 8 or 10. What gives?
19 Answers:
Posted on July 26, 2007 at 12:55pm
Is there anything in the band's 'Print when expression'?
Have you double checked the source?
Are any options enabled that would not allow this (Blank When null, etc)
Have you tried using the summary or other bands near the bottom?
Just a few ideas...Does this help?
Have you double checked the source?
Are any options enabled that would not allow this (Blank When null, etc)
Have you tried using the summary or other bands near the bottom?
Just a few ideas...Does this help?
Posted on July 26, 2007 at 3:57pm
Is there anything in the band's 'Print when expression'? |
Nope
Have you double checked the source? |
I don't see anything out of place
Are any options enabled that would not allow this (Blank When null, etc) |
Nope
Have you tried using the summary or other bands near the bottom? |
Yes, Nothing below detail will display anything on the generated report.
Very strange indeed.... It's possible i could be have missed something in the jrxml. Let me post the relevant portions of it:
Code: |
<br /> <pageFooter><br /> <br /> <band height="30" isSplitAllowed="true" ><br /> <br /> <staticText><br /> <br /> <reportElement<br /> x="1"<br /> y="0"<br /> width="173"<br /> height="24"<br /> key="staticText-8"/><br /> <br /> <box topBorder="None" <br /> topBorderColor="#000000" leftBorder="None" <br /> leftBorderColor="#000000" <br /> rightBorder="None" <br /> rightBorderColor="#000000" <br /> bottomBorder="None" <br /> bottomBorderColor="#000000"/><br /> <br /> <textElement><br /> <br /> <font size="8"/><br /> <br /> </textElement><br /> <br /> <text><![CDATA[Labor Report]]></text><br /> <br /> </staticText><br /> <br /> <line direction="TopDown"><br /> <br /> <reportElement<br /> x="1"<br /> y="0"<br /> width="551"<br /> height="0"<br /> key="line-4"/><br /> <br /> <graphicElement stretchType="NoStretch"/><br /> <br /> </line><br /> <br /> </band><br /> <br /> </pageFooter><br /> <br /> </td></tr></tbody></table> |
Posted on July 26, 2007 at 5:40pm
Yes this is very troubling and makes no sense. I'm half thinking it's some kind of bug.
I left the font at whatever the default for iReport is. BTW, I duplicated this problem using both iReport 1.2.8 and 2.0. It was set to San Serif, I tried Arial, but neither one shows.
I left the font at whatever the default for iReport is. BTW, I duplicated this problem using both iReport 1.2.8 and 2.0. It was set to San Serif, I tried Arial, but neither one shows.
Posted on July 26, 2007 at 5:52pm
Could you send me your source code? I would like to duplicate it as well, this could tell you if the problem is local to your machine, or if it really is a bug.
This is quite confusing because I am able to place and view elements in the page footer of iReport 2.0. With you source I may be able to debug your report and tell you what happened...
This is quite confusing because I am able to place and view elements in the page footer of iReport 2.0. With you source I may be able to debug your report and tell you what happened...
Posted on July 26, 2007 at 6:45pm
I am going to attach the jrxml file as well as the xml datasource [file name=labor_report.jrxml size=14698]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/lab...
Posted on July 26, 2007 at 6:46pm
Here is the sample datasource [file name=labor_report.xml size=2110]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/lab...
Posted on July 26, 2007 at 7:33pm
That doesn't appear to be it. Foreground color is black, background is white. Tried with different foreground colors. Tried with transparent value toggled on and off. Were you able to duplicate the problem?
I should note I've duplicated it on both windows and linux as well.
I should note I've duplicated it on both windows and linux as well.
Posted on July 27, 2007 at 4:31pm
I don't think it's the same problem as when you look at the jrxml. All of the pagefooter markup is clearly in place. Maybe something is happening during the compilation process to the jasper format.
Btw, how do you tell which version of iReport that bug applies to?
I appreciate all the effort in looking into this. I generally don't post to forums unless I'm completely stumped.
Btw, how do you tell which version of iReport that bug applies to?
I appreciate all the effort in looking into this. I generally don't post to forums unless I'm completely stumped.
Posted on July 27, 2007 at 5:12pm
I'm not too sure about which version the bug applies to.
The only indicator that you can observe is the date that the bug was reported. I would assume that it applies to the newest version made available (to that date) and on.
For example, if version 1.3.2 were made available on 10/2006, the bug could possibly apply to 1.3.x.
Still, this isn't a wise assumption to make.
Have you posted this problem in any other forums?
Sometimes you can get a sense of direction by doing that as well.
This is really frustrating me! :evil:
The only indicator that you can observe is the date that the bug was reported. I would assume that it applies to the newest version made available (to that date) and on.
For example, if version 1.3.2 were made available on 10/2006, the bug could possibly apply to 1.3.x.
Still, this isn't a wise assumption to make.
Have you posted this problem in any other forums?
Sometimes you can get a sense of direction by doing that as well.
This is really frustrating me! :evil:
Posted on July 27, 2007 at 7:38pm
Hi,
I just tried to create a report using File/Report Wizard and everything worked fine. The page footer was displayed as expected. Once you create a report through File/New Document Page Footer is not appearing in the output document. I will use this as a workaround.
Regards,
Vadim
I just tried to create a report using File/Report Wizard and everything worked fine. The page footer was displayed as expected. Once you create a report through File/New Document Page Footer is not appearing in the output document. I will use this as a workaround.
Regards,
Vadim