public interface JREvaluation
evaluationTimeattribute) that lets you decide the exact moment you want the text field expression to be evaluated, avoiding the default behavior in which the expression is evaluated immediately when the current report section is generated. The
evaluationTimeattribute can have one of the following values (see
Now- The expression is evaluated when the current band is filled.
Report- The expression is evaluated when the end of the report is reached.
Page- The expression is evaluated when the end of the current page is reached
Column- The expression is evaluated when the end of the current column is reached
Group- The expression is evaluated when the group specified by the
Auto- Each variable participating in the expression is evaluated at a time corresponding to its reset type. Fields are evaluated
Now. This evaluation type should be used for expressions that combine values evaluated at different times, like the percentage out of a total
Now. In the example presented previously, you could easily specify
evaluationTime="Page"for the text field placed in the page header section, so that it displays the value of the sum variable only when reaching the end of the current page.
© 2001 - 2017 TIBCO Software Inc. www.jaspersoft.com