sphoid Posted July 26, 2007 Share Posted July 26, 2007 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? Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 26, 2007 Share Posted July 26, 2007 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? Link to comment Share on other sites More sharing options...
sphoid Posted July 26, 2007 Author Share Posted July 26, 2007 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:<pageFooter> <band height="30" isSplitAllowed="true" > <staticText> <reportElement x="1" y="0" width="173" height="24" key="staticText-8"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement> <font size="8"/> </textElement> <text><![CDATA[Labor Report]]></text> </staticText> <line direction="TopDown"> <reportElement x="1" y="0" width="551" height="0" key="line-4"/> <graphicElement stretchType="NoStretch"/> </line> </band></pageFooter> Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 26, 2007 Share Posted July 26, 2007 What font type are you using? Is it one that is supported by your exporter? This is really strange... :S Link to comment Share on other sites More sharing options...
sphoid Posted July 27, 2007 Author Share Posted July 27, 2007 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. Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 27, 2007 Share Posted July 27, 2007 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... Link to comment Share on other sites More sharing options...
sphoid Posted July 27, 2007 Author Share Posted July 27, 2007 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/labor_report.jrxml[/file] Link to comment Share on other sites More sharing options...
sphoid Posted July 27, 2007 Author Share Posted July 27, 2007 Here is the sample datasource [file name=labor_report.xml size=2110]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/labor_report.xml[/file] Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 27, 2007 Share Posted July 27, 2007 Found it. Change the foreground color of your text inside the static text field. Let me know if that is it. Link to comment Share on other sites More sharing options...
sphoid Posted July 27, 2007 Author Share Posted July 27, 2007 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. Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 27, 2007 Share Posted July 27, 2007 You're right, I thought that was it but I was wrong... You may want to contact an admin for this issue, I'm not the most familiar with XMLDataSources... BUT, I will keep investigating.Post edited by: codyjasperForge, at: 2007/07/26 20:47 Link to comment Share on other sites More sharing options...
vloevski Posted July 27, 2007 Share Posted July 27, 2007 Hi, I have exactly the same issue with missing Page Footer in iReport 1.3.3. I am not using XML data source, i am connected to Oracle database. I could not find anything unusual in jrxml file. Any clues would be welcome. Regards, Vadim Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 27, 2007 Share Posted July 27, 2007 Well, I don't have a solution yet, but I did find something similar in the iReport Tracker... Check out artf1694, I don't know if this is the same problem, but they may be related... keep investigating...:huh: Link to comment Share on other sites More sharing options...
sphoid Posted July 27, 2007 Author Share Posted July 27, 2007 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. Link to comment Share on other sites More sharing options...
codyjasperForge Posted July 28, 2007 Share Posted July 28, 2007 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: Link to comment Share on other sites More sharing options...
vloevski Posted July 28, 2007 Share Posted July 28, 2007 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 Link to comment Share on other sites More sharing options...
sphoid Posted July 28, 2007 Author Share Posted July 28, 2007 Strange. Unfortunately I cannot use the report wizard because I am using an xml data source. Might give us an idea of where to look for the problem though. Link to comment Share on other sites More sharing options...
vloevski Posted July 28, 2007 Share Posted July 28, 2007 Keep posted as I would like to use XML datasource myself in the near future. Vadim Link to comment Share on other sites More sharing options...
GL1zdA Posted September 7, 2007 Share Posted September 7, 2007 Hi!Removing the LastPageFooter section fixed this for me. Link to comment Share on other sites More sharing options...
gerardcflynn Posted October 19, 2009 Share Posted October 19, 2009 I think the issue is that on a one page report the report references the last page footer instead of the page footer, I copied my page n of n into the last page footer and it worked fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now