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)
BIRT 2.6
smgomes
Hi,<br />
<br />
recently i upgrade BIRT to version 2.6 and i'm getting problems with ScriptDataSet.<br />
<br />
At my RCP Application i use this code to pass a Collection to BIRT:<br />
<br />
<strong class='bbc'>birtEngine.getEngineConfig().setProperty(tableName, tempCollection);</strong><br />
<br />
In report in DataSet <strong class='bbc'>Open Method </strong>i had this code:<br />
<br />
<strong class='bbc'>iterator_artigos = artigos.iterator();</strong><br />
<br />
in the <strong class='bbc'>Fetch Method</strong> i had this:<br />
<br />
if( !iterator_artigos.hasNext() ) return false; <br />
artigos = iterator_artigos.next();<br />
<br />
(code)<br />
<br />
When i try to show the report in my application i get this error:<br />
<br />
WARNING: A BIRT exception occurred: Error evaluating Javascript expression. Script engine error: ReferenceError: "artigos" is not defined. (#1)<br />
Script source: , line: 0, text:<br />
__bm_OPEN(). See next exception for more information.<br />
Error evaluating Javascript expression. Script engine error: ReferenceError: "artigos" is not defined. (#1)<br />
Script source: , line: 0, text:<br />
__bm_OPEN()<br />
<br />
In minor version i don't get this error, so what's the difference now in version 2.6 ?<br />
<br />
Please help me, i really need to solve this problem quickly.<br />
<br />
Thanks.
Find more posts tagged with
Comments
There are no comments yet