ibm-mobilefirst

IBM Worklight 6.0.0.1 - jQuery palette does not show up

戏子无情 提交于 2019-12-01 21:18:58
In my Worklight project I can't get jQuery palette, it's always hidden. I searched, tried... No result. HTML and Dojo palettes are OK. Configuration: Eclipse Juno EE, Worklight 6.0.0.1, Installed IBM jQuery Mobile tools (comes with Worklight), jQuery-1.10.2 and jquery.mobile-1.3.2 Note: I was getting errors while trying to install Worklight directly from Eclipse so on the end i download it as a zip and installed that way. Update: I added picture I found of jQuery palette. Please note that it's not the same as HTML or Dojo palette jQuery palette image Update: the jQuery Mobile Widgets palette

CSS3 animation does not work on Android 4.2

无人久伴 提交于 2019-12-01 20:18:12
I'm developing an app using Worklight where I need to put a small animated image using CSS. In tests on Android devices with version 4.4 works perfectly, I performed some tests on devices with Android 4.2 and 4.1 and this same animation does not work. IPhone 5 is working perfectly. My code is: <html> <style type="text/css"> .image-arrow { content: url("http://i104.photobucket.com/albums/m163/bl82/arrowup-green.png"); /* content: url("hand.png"); */ /* display: inline-block; */ width: 100px; text-align: center; margin: auto; overflow: visible; /* position: absolute; */ } .element-animation{

How to Fix No MBean found for Worklight project?

℡╲_俬逩灬. 提交于 2019-12-01 16:39:30
I have a problem when deploying my Worklight project on the server . It shows the following Error Message : FWLSE3041E: No MBean found for Worklight project 'MyProject'. Possibly the Worklight runtime web application for Worklight project 'MyProject' is not running. If it is running, use JConsole to inspect the available MBeans. and when I tried to preview my application it showed this message : SRVE0777E: Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.verifyServletInitialized:420' I had the same issue using Worklight 6.2 CLI, but recreating the

Not able to reference the Test with a Datapool in IBM Mobilefirst Platform Test Workbench 8.7(Free Version)

无人久伴 提交于 2019-12-01 14:15:44
Tool Used: IBM Mobilefirst Platform Test Workbench 8.7 (Free Version) OS: Windows 7 Problem Description: 1) Have created a Test case in Test Workbench in Record mode. (For a Login Scenario) 2) Inserted a new Datapool and have added values to Username column in the Datapool. 3) The Test script must refer the datapool and substitute the values from Datapool Username column into the Username field in the Test script. 4) Have followed the procedure outlined here. ( http://www-01.ibm.com/support/knowledgecenter/SS2HS7_8.7.0/com.ibm.rational.test.lt.moeb.tutorial.doc/topics/ios_lesson7.html ) 5)

$.mobile is undefined (Worklight + jQuery Mobile)

自作多情 提交于 2019-12-01 14:08:31
I have main html: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" /> <title>Home</title> <link rel="stylesheet" href="js/jquery.mobile-1.2.0/jquery.mobile-1.2.0.css" type="text/css" media="screen" title="no title" charset="utf-8" /> <link rel="stylesheet" href="css/Home.css" type="text/css" media="screen" title="no title" charset="utf-8" /> <link rel="stylesheet" href="css/theme-addon.css" type="text/css" media="screen" title="no title" charset="utf-8" /> <script

IBM Worklight Android 4.4 issue, JSON Store stopped working

我是研究僧i 提交于 2019-12-01 13:45:26
I have just upgraded my N4 to Kitkat and tested some of old apps being developed using IBM Worklight. It was shocking for me that JSON Store stopped working, I am submitting below log please check. Does anyone else face the same issue ? 11-27 11:48:03.078: I/jsonstore-core(23424): Performing migration to JSONStore 2.0 11-27 11:48:03.078: E/jsonstore-core(23424): Unable to create jsonstore directory 11-27 11:48:03.078: E/jsonstore-core(23424): java.lang.Exception: Unable to create jsonstore directory 11-27 11:48:03.078: E/jsonstore-core(23424): at com.worklight.androidgap.plugin.storage

IBM Worklight 6.0 - worklightserverhost attribute and the app-builder Ant task

我的未来我决定 提交于 2019-12-01 13:36:52
I had an Ant build file working fine on Worklight v5.0.6. On porting to Worklight v6.0 I found out that there's a new mandatory attribute, worklightserverhost , for the app-builder task. <app-builder applicationFolder="path/to/proj" environments="mobilewebapp,android,iphone" nativeProjectPrefix="myproj" worklightserverhost="?Here?" outputFolder="where/to/put/it"/> I can find no documentation of the value to put here or its significance; my guess is that it is supposed to be the value that was formerly in application-descriptor.xml and is now taken from worklight.properties when building in

How to display photo library permissions dialog in Cordova?

大憨熊 提交于 2019-12-01 13:35:23
Hi we are developing an IBM MobileFirst Platform-based Hybrid Application. In our application we are accessing user gallery (to upload photos). for this in iPhone we need to ask the user permission explicitly, to ask user permission in iPhone we need to display dialog box. Here my question is the dialog box which we are going to show to the user is custom dialog box or is there any native feature built-in in MobileFirst, or with the help of any cordova plugin? Idan Adar MobileFirst does not handle any permissions for you - it is not that kind of a framework. This really relates to the Cordova

Issue while using Polling in IBM Worklight Push Notification

夙愿已清 提交于 2019-12-01 13:32:36
I was trying out WL 6.0 Push notification with Android device. Push notifications is working fine. I was also trying to use Polling. As per the docs from Info center, for polling we need to invoke another procedure and after certain intervals when we get response from that procedure method push is done. Please correct me if I'm wrong. So, as per this I have declared a new procedure named getNotificationsFromBackend and invoked that. like this WL.Server.createEventSource({ name: 'PushEventSource', onDeviceSubscribe: 'deviceSubscribeFunc', onDeviceUnsubscribe: 'deviceUnsubscribeFunc',

worklight server configuration - separating adapters and server

别等时光非礼了梦想. 提交于 2019-12-01 13:09:12
Two part question. Generic question about a server configuration feature, and then it's possible implications for what we'd like to do. The worklight properties file has entries publicWorklightHostname, publicWorklightPort, publicWorklightProtocol. Individual applications also specify much the same information in the application descriptor. It's clear that applications need the descriptor information to "find" the server. What purpose do the corresponding entries serve in worklight.properties? I believe that the two are supposed to match. We have a scenario where we need to deploy our adapters