List of actions completed:
1- Created trunk like folder structure to compat and moved the following folders "prototype", "scriptaculous" and "extras" to it. Change the build to generate the "icefaces-compat.js". Ran the the showcase, got the same javascript error on drag and drop. I noticed event trunk prototype.js contains the same cumulativeOffset() as compat.
2- Used above steps but instead of using trunk's prototype I used latest prototype API. Ran the showcase, got other kind of component specifc javascript errors.
3- Used above steps and instead of using trunk's extras I used compat's extras code. Ran the showcase and everything works fine.
This is what we ended up:
- Newer version of prototype
glimmer\compat\core\src\main\javascript\prototype\prototype.js
- Scriptaculous from the trunk
glimmer\compat\core\src\main\javascript\scriptaculous*.js
- Existing extras from compat but containing components code only.
glimmer\compat\core\src\main\javascript\extras\extras.js
- Modified build file, that merges all above files and creates "icefaces-compat.js".
At initial load, there is no error when dragging and dropping, but nothing happens in the shopping cart either. See video at http://screencast.com/t/Mzg0ZGIwODc.