script

Retrieves a JavaScript file from the current skin, from the js/ folder. Use /ui/js/ instead.

Parameters

action
script
resource
The filename of the JavaScript resource to get from the skin (lcContent.js).

Example URL

http://<host>:<port>/<context>/web/ui.xql?action=script&resource=<value>

Successful Result

A binary stream of the JavaScript file, returned as mime-type "application/x-javascript".

Failed Result

An HTML page indicating a 404 Not Found error.