2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Jeppy Suparto - manukarunta Footer Problem 2003-08-13 04:18 Hi, I'm using JasperReports 0.5.0 When I try to change the $F{City} to $F{Street} in <groupExpression> from WebappReport.xml in the demosampleswebappreports, the footer of the last page can not be displayed, that is Page 4 of 4, can anyone know why and how to fix it? Thank's By: Teodor Danciu - teodord RE: Footer Problem 2003-08-13 07:40 Hi, This is because the summary section is a special one. When it overflows, the page header and the page footer do not accompany it on the next pages. And in that case this is what happens, the summary section overflows. If you want to have a summary section that is always accompanied by the page header and the page footer on which it appears, you can use a dummy summary. This can be achieved using the group footer of a dummy group that breaks only once per report. Its footer section will appear only once, at the end of the reports. This dummy group can have an empty expression. I hope this helps. Teodor By: Jeppy Suparto - manukarunta RE: Footer Problem 2003-08-13 20:49 Thank's for your helps, But can you give the example code about the dummy group that can solve the problem, because I'm new to this JasperReport Thank's By: Teodor Danciu - teodord RE: Footer Problem 2003-08-14 00:31 Hi, You just define a group like this, as the first group in your report template : <group name="MyDummyGroup"> <groupFooter> <band height="xxx"> ...put here the content of your summary... </band> </groupFooter> </group> You only have to copy the content of the summary section into this group footer section and give up using the actual summary. I hope this helps. Teodor 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