title: Multiple Jasper repports page number handler with key
body: <p>Hi fellow stackoverflowers,</p>
  
  <p>I have 2 jasper report. Both started with zero page number. I want my second report to start by first jasper report's total page + 1. I have seen great solutions on this topic <a href="https://stackoverflow.com/a/42426312/8557381">here</a>  or <a href="https://stackoverflow.com/a/8735860/8557381">there</a> but it is not what I am looking for. I would like to handle my jasper report like html tag with an id for example and then thanks to this id, get my textField and change the page number value in my java code.</p>
  
  <p>For example my textfield is like:</p>
  
  <pre><code>&lt;textField&gt;
      &lt;reportElement  x="520" y="1" width="40" height="48" uuid="5df12c06-9c58-4b26-99c1-02b1d8e86456"/&gt;
      &lt;box&gt;
          &lt;topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/&gt;
          &lt;leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/&gt;
          &lt;bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/&gt;
          &lt;rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/&gt;
      &lt;/box&gt;
      &lt;textElement textAlignment="Center" verticalAlignment="Middle"/&gt;
      &lt;textFieldExpression&gt;&lt;![CDATA[$V{PAGE_NUMBER}]]&gt;&lt;/textFieldExpression&gt;
  &lt;/textField&gt;
  </code></pre>