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)
onRender: 'name' is null
ypetrov
Hello,<br />
<br />
The report has dynamic text element. The element has not empty name. The element has 'onRender' handler with <br />
<pre class='_prettyXprint _lang-auto _linenums:0'>...
var nm = this.name;
Packages.java.util.logging.Logger.getLogger("birt").severe("nm=["+nm+"]");
...</pre>
Somehow, the variable nm gets the value 'null'. <br />
<br />
The question: how can I get the name of an element inside the element's onRender handler?<br />
<br />
Thanks.<br />
<br />
PS The BIRT version is 2.3.2
Find more posts tagged with
Comments
There are no comments yet