You can use an extension to upload application-level JavaScript files. JavaScript files uploaded using this mechanism are loaded as part of the main module, before any endpoints have been fired and before any widgets have been loaded. As such, they can be referenced as a dependency in any widget, allowing you to build reusable modules that can be shared among widgets and elements.

The remainder of this section describes how to create an extension that contains application-level JavaScript modules and provides some useful examples. It includes:


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices