JavaScript conflicts. Third-parties scripts methods and objects not found.

←  RichFaces FAQ ←  Common client side


RichFaces is bundled with a number of JavaScript libraries: Prototype, jQuery, and Script.aculo.us. In order to prevent JavaScript versions conflict you should use only one version of the framework or library.If you want to use external library you should include internal script in the web.xml:

...
<context-param>
    <param-name>org.richfaces.ExcludeScripts</param-name>
    <param-value>Prototype,Scriptaculous</param-value>
</context-param>
...





RichFaces components use Prototype and jQuery very unwillingly. There are many special patches for the components in every internal library, therefore using external scripts will break some of the components.