Hello. I am trying to use Report Variable for transfer something values of code in elements of ".rptdesign" (not report parametrs). Value of variable does not change, but report runs and displays and in console i not find errors or exceptions.<br />
<br />
Part of the code that is responsible for the variables:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
RunAndRenderTask task = (RunAndRenderTask) engine.createRunAndRenderTask(design);
IReportContext reportContext = task.getReportContext();
reportContext.setPersistentGlobalVariable("VarOne", "something text");
</pre>
Also, i tried to use another methods: setGlobalVariable and setPageVariable (i changed type of variable if i used second variant).<br />
<br />
How i am doing it in ".rptdesign" : <br />
<br />
<a class='bbc_url' href='
http://www.radikal.ru'><img src='
http://i052.radikal.ru/1302/5c/a381cc8de082.jpg' alt='Posted Image' class='bbc_img' /></a><br />
<br />
<br />
<br />
Maybe i should something to write in script code? Sorry, maybe it's stupid problem, but i tried to find documentation and answers on forums, but did not find anything.