Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Custom footer on every page
newbie321
<p>Hi, </p>
<p> </p>
<p>I am designing a report that has footer on a master page that needs to have a content as a function of current page's content? For example, on pg.1 the footer would read 'Hello' on pg.2 the footer would be 'abcdef', on pg.3 'brick', etc etc</p>
<p> </p>
<p>what is the best way to implement a custom footer that changes with every page? </p>
<p> </p>
<p>I tried using page variables. The footers get updated when run from birt RCP through the birt web-viewer; however, when I try to push the report into pdf format, then the footer does not get update and stays static. </p>
<p>Anyone had to face such problem and what is the solution? </p>
<p> </p>
<p>Thanks!! </p>
Find more posts tagged with
Comments
Clement Wong
<p>I posted a response to a similar question you asked before @ <a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/topic/37965-custom-footer-on-a-different-page/#entry140822'>http://developer.actuate.com/community/forum/index.php?/topic/37965-custom-footer-on-a-different-page/#entry140822</a></p>
;
<p> </p>
<p><strong>Please note the solution works only when the run and render tasks are separated</strong>. That is to first run the report and then render it into a different format.</p>
<p> </p>
<p>There's a good explanation of the phases @ <a data-ipb='nomediaparse' href='
http://developer.actuate.com/be/documentation/ihub3-dev/ADG/adg62/index.html#page/ADG/ScriptingWithJavaScript.1.05.html#ww253283'>http://developer.actuate.com/be/documentation/ihub3-dev/ADG/adg62/index.html#page/ADG/ScriptingWithJavaScript.1.05.html#ww253283</a></p>
;
<p> </p>
<p style="margin-left:40px;"><em>There are three BIRT execution phases: preparation, generation, and presentation. There can be one or two execution processes. When a report runs in the BIRT Report Designer previewer, there is only one execution process, which executes a RunAndRenderTask.</em></p>
<div style="margin-left:40px;"> </div>
<div style="margin-left:40px;"><em>There are two execution processes when the report runs in the viewer. The first process, called the factory process, contains the preparation and generation phases. The second execution process, called the render process, contains only the presentation phase. The render process can occur at a much later time than the factory process and possibly on a different machine.</em></div>
<div style="margin-left:40px;"> </div>
<div style="margin-left:40px;"><em>Because variables are visible only in the process in which they are created, it is important to know which event handlers run in which process. If the render process uses a variable created in the factory process, the code works in the previewer but not at run time if using two processes.</em></div>
<div style="margin-left:40px;"> </div>
<div>I do not think it's possible if you do not separate the task and just perform a RunAndRender.</div>