...
To understand how plugins supply their configuration, you have to understand the webcontext.js Filter and External Resource definitions.
Anchor | ||||
---|---|---|---|---|
|
webcontext.js
Almost every page supplied by our server will include a webcontext.js script tag. You won't find a webcontext.js file anywhere in the system, the content is actually supplied by an HTTP Servlet Filter. It's writes out several things which are critical for the execution of most of our client-side Javascript. Most calls to webcontext.js also include an additional "context" parameter telling it what area of the Platform it's intended for. This context is tied into the External Resources system described later.
...