Page Footer missing from output

1
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?
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago

19 Answers:

0
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?
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0

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>
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
What font type are you using? Is it one that is supported by your exporter?

This is really strange... :S
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0
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.
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
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...
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0
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...
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
Here is the sample datasource [file name=labor_report.xml size=2110]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/lab...
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
Found it.

Change the foreground color of your text inside the static text field.

Let me know if that is it.
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0
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.
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
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
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0
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
vloevski's picture
Joined: Jul 26 2007 - 3:32pm
Last seen: 12 years 6 months ago
0
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:
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0
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.
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
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:
codyjasperForge's picture
Joined: Jun 6 2007 - 3:44am
Last seen: 2 years 10 months ago
0
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
vloevski's picture
Joined: Jul 26 2007 - 3:32pm
Last seen: 12 years 6 months ago
0
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.
sphoid's picture
18
Joined: Jul 17 2007 - 3:21am
Last seen: 12 years 7 months ago
0
Keep posted as I would like to use XML datasource myself in the near future.

Vadim
vloevski's picture
Joined: Jul 26 2007 - 3:32pm
Last seen: 12 years 6 months ago
0
Hi!
Removing the LastPageFooter section fixed this for me.
GL1zdA's picture
1
Joined: Jun 26 2007 - 12:27am
Last seen: 12 years 7 months ago
0

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.

 

gerardcflynn's picture
Joined: Sep 8 2009 - 1:37am
Last seen: 3 years 7 months ago
Feedback
randomness