We are using Mootools in our project and also JSF Richfaces to build the application components. We have a requirement to use a richfaces modal panel to show an alert when session timesout. But when both Mootools and rich faces modal panel are used together, we are getting some errors which points to a conflict with the prototype.js
used by both.
The error which I can see in the browser console is as below:
Uncaught TypeError: undefined is not a function localhost:8080/ca/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript:46 Uncaught TypeError: Illegal invocation localhost:8080/ca/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript:31 Uncaught TypeError: Illegal invocation localhost:8080/ca/faces/a4j/g/3_3_3.Finalorg.ajax4jsf.javascript.PrototypeScript:265
Any hints/soultion to the problem is highly appreciated.
~Ragesh