Ajax using Prototype.js in OFBiz

I need to make an Ajax call inside an OFBiz frame using prototype.js. I am doing this from a file .ftl. Am I confused about how to handle the server side - through a Java event or Java service? What is the best practice? And also I am having problems making the system recognize the file prototype.js. There is some problem with the path name in the script tag. It should be some kind of naming in accordance with the basic OFBiz standards.

I searched Google, but I only found links on how to use the prototype, but not one of the prototype + OFBiz combinations. If someone did something in OFBiz like this, please help.

+3
source share
1 answer

AJAX , . , , js, - HTML ( ). JSON, type="jsonservice" ( jsonservice ). AJAX.

0

Source: https://habr.com/ru/post/1698841/


All Articles