ibm-mobilefirst

What are the recommended ways to debug Worklight applications?

我怕爱的太早我们不能终老 提交于 2019-11-26 18:31:16
问题 I'm finding it incredibly slow to fix issues that are specific to the iOS portion of my app. I'd like the know the recommended way to debug Worklight apps when the browser debugger isn't available. In particular, I'm working on issues with WL.JSONStore which only works on iOS and Android. I can't use the browser debugger to see what's going on. When I do WL.Logger.debug() statements, nothing is showing up in the Xcode console, and the iPad simulator console (Cordova) only displays a few lines

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

Worklight core-web-layer.js errors

时间秒杀一切 提交于 2019-11-26 11:40:57
问题 Can someone help me? When I run my Worklight project on Chrome, Firefox or Opera I don\'t get any errors. But when I run it on IE I get these errors: Error: multipleDefine Error: multipleDefine Error: multipleDefine Error: multipleDefine SCRIPT5002: Function expected core-web-layer.js, line 311 character 160 SCRIPT438: Object doesn\'t support property or method \'_eventHandler\' core-web-layer.js, line 165 character 71 When I run it on Android, the Dojo functionality also doesn\'t work and I

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 (

Using katzer local notification in IBM Worklight

放肆的年华 提交于 2019-11-26 11:40:33
问题 I want to use this cordova plugin at https://github.com/katzer/cordova-plugin-local-notifications How to go about integrating this plugin with my existing IBM Worklight project? I have trying various methods to integrate it without any result. I am getting this error currently from the logcat: 02-24 11:15:03.035: D/CordovaLog(2439): file:///data/data/com.iCareApp/files/www/default/index.html: Line 17 : Uncaught TypeError: Cannot read property \'notification\' of undefined Or is there any

IBM Worklight - Where to find previous releases

社会主义新天地 提交于 2019-11-26 07:45:03
问题 I am looking to setup an Eclipse development environment with IBM Worklight v5.0.5 Fix pack 1. Can I get some pointers on the installation links for older versions of Worklight? 回答1: See available downloads below. Note that these links do not guarantee each download to be the latest patched version of each release. Latest patches are available only from the IBM Fix Central website. IBM MobileFirst Foundation 8.0.0 (available from the Eclipse Marketplace). Note that v8.0 is very different from