Hi,
I have a situation where I need to set a variable during java runtime and access it the very same variable in chart's onRender events.
in java I was hoping to use something like this:
iRunTask.getAppContext().put("key", "val")
and in chart's script I was hoping to use:
reportcontext = context.getExternalContext().getObject()
appContext = reportcontext .getAppContext()
val = appContext.get("key")
However, my appContext is coming in empty.
I tried iRunTask and iRunAndRenderTask. All are empty
is there any way to bring external information into chart via appContext?
Thanks,
Edgar