如何在Worklight项目中启用WL.JSONStore? [英] How to enable WL.JSONStore in Worklight project?

查看:323
本文介绍了如何在Worklight项目中启用WL.JSONStore?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用示例Using_JSONStore时,我总是在Android移动浏览器模拟器或Android虚拟设备模拟器或我的真实Android设备(Android版本2.3.5)上测试WL.JSONStore ==undefined。如何在Worklight项目中启用WL.JSONStore功能?谢谢。

When I played with the sample Using_JSONStore, I always tested WL.JSONStore=="undefined" on Android Mobile Browser Simulator or on a Android Virtual Device Emulator, or on my real Android device (Android version 2.3.5). How to enable the WL.JSONStore feature in the Worklight project? Thanks.

推荐答案

在Worklight 5.0.6.x中,JSONStore始终是Android和iOS环境的一部分,因此它始终是当下。没有什么可以启用。

In Worklight 5.0.6.x, JSONStore is always part of the Android and iOS environments, so it is always present. There is nothing to 'enable'.

你想做什么,也许是初始化它,即 - 使用init方法。这是你想要的吗?

请同时咨询使用JSONStore文档

What you want to do, is perhaps initialize it, that is - use the init method. Is that what you're after?
Please also consult with the JSONStore documentation.

这篇关于如何在Worklight项目中启用WL.JSONStore?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆