Abdullah Shaikh wrote:
I saw the Ajax example in the example component, it was cool to see ajax in
ofbiz.

Is there any document where I can check how to use the FormWidget's Ajax
stuff ?

Also is there any thing in ofbiz using which I can perform Ajax request, not
using FormWidget, of course I know I can do it manually using the
XMLHttpRequest object, but is there any js methods or any java related stuff
added in ofbiz to make a ajax calls ?


Thanks,
Abdullah

Hi Abdullah,

There is a thread on dev list, and also a jira issue where you can check one ajax proposal
http://ofbiz.markmail.org/search/?q=+lookup#query:%20lookup+page:1+mid:j67oelfo3cytufh2+state:results

Also the prototype library is included in ofbiz, and used for making ajax request in few places. For example you can search for "new Ajax.Request" in the project and see how it is used. On the server side you have to use a json event handlers if you want to return a json response.

Another option is to use the Dojo library which is also available in the project. I think you can find dojo examples in ecommerce, on page checkout screen.

HTH
Bilgin

Reply via email to