Re: [Dev] [UUF] [IS] Invoke an OSGI service from a client side JS

2017-01-05 Thread Indunil Upeksha Rathnayake
Hi Sajith, Thanks for your reply. That cater the requirement. Best Regards On Thu, Jan 5, 2017 at 10:07 AM, SajithAR Ariyarathna wrote: > Hi Indunil, > > Can you explain your exact requirement? Seems that what you want to do is, > save some data (obtained in a HTML form)

Re: [Dev] [UUF] [IS] Invoke an OSGI service from a client side JS

2017-01-04 Thread SajithAR Ariyarathna
Hi Indunil, Can you explain your exact requirement? Seems that what you want to do is, save some data (obtained in a HTML form) using an OSGi service in a form POST submit. If so, then you can do this in the onRequest function. Don't specify any 'action' for your HTML form, so when you submit it

[Dev] [UUF] [IS] Invoke an OSGI service from a client side JS

2017-01-04 Thread Indunil Upeksha Rathnayake
Hi, As mentioned in the Web App Developer’s Guide for Unified UI Framework [1], "callOSGiService" is a function call of a server side JS API. So that AFAIK, that can't be called from JS files in the public folder, where client side logic resides. I have requirement to call an OSGI service from a