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)
Global Javaclasss Instance current the report creating
Phill
Hello,<br />
i need my java class at the whole time, when my report is creating.<br />
<br />
How can i create an instance in Birt (onInitialze of report) and can access these<br />
instance anywhere in the one report during the creating?<br />
<br />
I had tried this:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
reportContext.setPersistentGlobalVariable("month", new Packages.month.StaffMonth());
</pre>
<br />
But it don't works on this way.<br />
What can i do?<br />
<br />
thanks
Find more posts tagged with
Comments
mwilliams
Can you explain more about what you're wanting to do? Do you need data that is generated by your java class? Or do you need different functions at different times from your class while running your report? Let me know.