I need to make an Ajax call inside OFBiz framework using prototype.js. I am doing that from a ftl file. I am confused of how to handle the server side - through java event or java service. What is the best practice? And also i am having problem making the framework recognize prototype.js file. There is some issue with the path name in the script tag. It has to be some peculiar naming as per OFBiz framework standards.
I searched google but I only found links on how to use prototype but no where prototype + OFBiz. If anybody has done anything in OFBiz like this, please help.
Thanks, Kaushik