Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
How to put a value contained in a list into a page variable
Migrateduser
<p>I want to create a document from a list of test reports. Each report will start on a new page and may span a number of pages. In the footer I want to display the name of the current report.</p>
<p> </p>
<p>I am using a list element to iterate over the test reports and, initially, I thought that I could put the report name in the list footer area. Strangely, the footer text is always displayed on the following page. (I searched for a while but cannot see why there should be a page break)</p>
<p> </p>
<p>My current approach is to use a page variable which is displayed in the master-page footer area.</p>
<p>How can I set the page variable from within the list? Can I use one of the script events? How can I get the value of the current details object?</p>
<p> </p>
<p>(Just to clarify, the data set is based on a POJO which is why I talk about getting the 'object'. I would just like to know how to grab a current value from the data set)</p>
<p> </p>
<p>I viewed a presentation on YouTube which was using the <em>onPageBreak </em>event of a data set object to get the value of that object and to put it in the page variable. This doesn't work for me. The master-page footer appears to get drawn before the <em>onPageBreak </em>event is called.</p>
Find more posts tagged with
Comments
There are no comments yet