||Wed, 21 July 2010 09:12
| Robert Aust
Registered: July 2009
I've been experimenting with event handlers in script and java.
My intention was to use Java-Adapters for standard event handling in my
application [creation of application-specific context, logging etc.]
and ALSO to use script handlers for any special tasks, that I would
possible need in a report.
That does not seem to work, does it?
It seems that BIRT is executing the script when there is one defined and
is this case does NOT call the appropriate method in the registered java
handler on the object.
I'v tested that with report.beforeFactory : I have a ReportEventAdapter
set but as soon as I define an "beforeFactory"-Script this method is not
called anymore in my JavaHandler .. but the others are.
Is this intented? Why?
Wouldn't it be better to execute both in a defined [possible
configurable] sequence? E.g. first Java, then script..
Thanks for any feedback.
Powered by FUDForum
. Page generated in 0.01535 seconds