Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <!-- This file holds the setup configuration for the portal_javascripts tool. |
---|
3 | --> |
---|
4 | |
---|
5 | <object name="portal_javascripts"> |
---|
6 | |
---|
7 | <!-- Javascript files that will be registered with the |
---|
8 | portal_javascripts tool are defined here. You can also specify values |
---|
9 | for existing resources if you need to modify some of their properties. |
---|
10 | Javascript elements accept these parameters: |
---|
11 | - 'id' (required): same rules as for stylesheets (see |
---|
12 | 'cssregistry.xml'). |
---|
13 | - 'expression' (optional - default: ''): a tal condition. |
---|
14 | - 'inline' (optional - default: False) |
---|
15 | - 'enabled' (optional - default: True): boolean |
---|
16 | - 'cookable' (optional - default: True): boolean (aka 'merging allowed') |
---|
17 | See registerScript() arguments in ResourceRegistries/tools/JSRegistry.py |
---|
18 | for the latest list of all available keys and default values. |
---|
19 | --> |
---|
20 | <!-- EXAMPLE (UNCOMMENT TO MAKE AVAILABLE): |
---|
21 | <javascript |
---|
22 | id="++resource++waeup.plonetheme.ngren1.javascripts/something.js" |
---|
23 | cacheable="False" compression="safe" cookable="False" |
---|
24 | enabled="True" expression="" inline="False"/> |
---|
25 | --> |
---|
26 | |
---|
27 | </object> |
---|
Note: See
TracBrowser for help on using the repository browser.