////////////////////////////////////////
//web/WEB-INF/efw/event/global.js
////////////////////////////////////////
var global={};
global.fire=function(){
...
};
The event variable must be named “global”, which is the same as the file name.
Be careful not to operate on the session object in the global event.
The global event does not return anything.