Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Getting values from seperate run to render
Migrateduser
<p>Hi,</p><p> </p><p>I have seperate run and render,</p><p> </p><p>in run method dataSetAdapter triggers event afterOpen which executes</p><pre class="_prettyXprint"> reportContext.setParameterValue("dsPar", dsParams);</pre><p>dsParams is a JSONObject.</p><p> </p><p>Then in render ChartEventHandlerAdapter triggers beforeDrawSeries which has a parameter IChartScriptContext icsc </p><div><pre class="_prettyXprint">IReportContext ctx = (IReportContext) icsc.getExternalContext().getObject();JSONObject dsParams = (JSONObject) ctx.getParameterValue("dsPar");</pre><p>dsParams is null, so data does not get from run to render (if I use runAndRender it works correct).</p><p> </p><p> </p></div><p> </p>
Find more posts tagged with
Comments
There are no comments yet