Loading the JavaScript libraries and stylesheets from JARs

Version 2

    ←  RichFaces FAQ ←  Common client side


    In order to load JavaScript libraries and stylesheets from JARs you can use <a4j:loadScript> and <a4j:loadStyle> tags respectively.

    Example:

    …
    <a4j:loadScript src="resource://scriptaculous.js" />
    <a4j:loadStyle src="resource://main.css" />
    …