Extending : Reference sample : How to extend a global function invoked in ECA action : Enable XUI editor aware of this global function
  
Enable XUI editor aware of this global function
Here are two steps for Infrastructure developer to enable XUI editor aware of this global function:
1 Put the JavaScript code under the ‘WebContent’ folder of runtime project. For this sample, the folder structure is like the following screenshot.
This graphic is described in the surrounding text.
2 Modify the temple of XUI editor to make sure the implementation code of global function will be referenced by the generated JSP page.
This graphic is described in the surrounding text.
See also
How to extend a global function invoked in ECA action