worklight-adapters

IBM Worklight 6.0 - How to enable/view WL.Logger.debug in adapters?

假如想象 提交于 2019-11-26 17:08:07
问题 I have implemented the following simple HTTP adapter in order to introduce myself to Worklight Adapters. It works correctly. However, I can't see in the Eclipse Worklight console my WL.logger.debug statements! I've tried to configure logging.properties and server.xml as shown in this Information Center article, but it doesn't show the debug lines (request and result). Any suggestions? JS: function currencyConvertor(data) { var request = <soap:Envelope xmlns:xsi="http://www.w3.org/2001

Insertion of values in database

久未见 提交于 2019-11-26 11:40:40
问题 Hey I am using IBM Worklight V6.2.I want to insert values into database My Html Code is <h1>Please Enter The Car Details</h1> <form > Car No:<input type=\"number\" id=\"carnum\" placeholder=\"Please enter your no\" ><br><br> Details:<input type=\"text\" id= \"details\" placeholder=\"Please enter car details\" > <br><br> <input type=\"submit\" value=\"Register\" onclick=\"loadFeeds1()\"> </form> My procedure is: var users = WL.Server.createSQLStatement(\"insert into car(carno,details) values (