To make a javascript resource available in your jsf page, you need to register the resource and to add to the theme view you are using.
Register a javascript resource
To register a javascript resource you give it a name a the path of the resource inside your jar
using a resource in a view
You can add a resource to the contribution of your view:
javascript in webengine
If your webengine module extends either base or admin, then the prototype and jquery libraries are already provided.
Available javascript libraries
It is not necessary to add resource for common javascript libraries as they are already contributed. We also recommand to use the libraries below if needed:
- prototype 1.6.0.3
- jquery 1.4.4
Labels:
None