Where were you calling the functions from?
The initialize event is fired twice once for the run task and one for
the render task. The beforeFactory event is only fired once before the
run task. Either leave them in the initialize, set them as persistent
global functions or externalize them in a js file in the resource folder.
Jason
Mike wrote:
I have moved the functions to the initialize event and it seems to work
now, both in RCP and through a browser served by JBOSS.