Html IncludeTool

This is the main registry for JS and CSS files. They are (will be) stored here in a centralized way so that business templates and developers can add new ones without having to overwrite anything. The other role of the registry is to combine/compress css files (maybe js too) so that the upload is faster - more or less the way Plone's "CSS Registry" does.

It will also store default includes (erp5.js, erp5.css, erp5_xhtml_appearance.js) and MochiKit.

At the moment the only way to use it is to manually type extra js and css into the tool's properties. Defaults are included the old way, here you can add what you want.

Another way of adding custom css and js files is overriding

Widget.get_javascript_list
and
Widget.get_css_list
methods, this can be done per field class in Products/ERP5Form/