Pradeep,
If you have firbug install for your firefox, will be easy to see the request
send to to the server in firebug console.
If not then look at the console the request begun on each click of continue
(One Page Checkout). If you follow the request from the
ecommerce/controller.xml, you will see each AJAX request is entertained by
json types of event handler jsonservice
(org.ofbiz.webapp.event.JSONServiceEventHandler) or jsonjava
(org.ofbiz.webapp.event.JSONJavaEventHandler) or
jsonsimple(org.ofbiz.webapp.event.JSONSimpleEventHandler). These handlers
are created for the purpose to handle JSON objects supported by AJAX.

To make your request you need to add your own custom js file in the screen,
like done for the OnePageCheckout (screen) >> checkoutProcess.js. In
checkoutProcess.js you can see many examples which full fill your purpose.

HTH !

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Fri, Nov 27, 2009 at 9:35 AM, S K Pradeep kumar <
s.k.pradeepku...@gmail.com> wrote:

> Hi Rishi,
>
> Thanks,
>
> But how can use this js to call js based services as like in one page
> checkout.
>
> With regards,
> S K Pradeep kumar,
>
>
>
> On Thu, Nov 26, 2009 at 2:22 PM, Rishi Solanki <rishisolan...@gmail.com
> >wrote:
>
> > Hi Pradeep,
> > Nothing special to do, just add the prototype.js library file to any of
> > webapp as currently it is in
> > /framework/images/webapp/images/prototypejs/...
> > Go and set it using script tag ftl or include it in your screen using
> <set
> > field../> tag, and njoy the two open source project without much effort
> > ;-).
> >
> > Rishi Solanki
> > Enterprise Software Developer
> > HotWax Media Pvt. Ltd.
> >
> >
> > On Thu, Nov 26, 2009 at 10:01 AM, S K Pradeep kumar <
> > s.k.pradeepku...@gmail.com> wrote:
> >
> > > Hi all,
> > >
> > >  I am having one application, which already customized with user
> > > requirement. This version of ofbiz is not having prototypejs
> integrated.
> > >  How can i integrate the prototype js in ofbiz?
> > >
> > > With regards,
> > > S K Pradeep kumar,
> > >
> >
>

Reply via email to