Search found 13 matches

Go to advanced search

by geliz zhang
Wed Oct 15, 2014 1:11 am
Forum: Issues
Topic: Any way to publish the app on an Asia datacenter?
Replies: 1
Views: 342
 
Jump to post

Any way to publish the app on an Asia datacenter?

According to the news http://blog.appery.io/2014/09/appery-... you had launched a service in China, however I can't find any option where I can choose to publish a copy to Asian datacenter. Would that be the purpose? It has been a long time. The direct access speed to US based App is terrible.

by geliz zhang
Thu Jul 24, 2014 3:01 am
Forum: Issues
Topic: how to customize an event in a page and trigger it
Replies: 7
Views: 422
 
Jump to post

how to customize an event in a page and trigger it

No it should not be triggered by timer but network message event. For example var onIncomingMessage = function () { //do some work }; and in a global .js file, in the initialize part of the network module set the trigger SomeObj.onIncomingMessage = Appery("MainScreen").onIncomingMessage; I...
by geliz zhang
Tue Jul 22, 2014 2:54 pm
Forum: Issues
Topic: how to customize an event in a page and trigger it
Replies: 7
Views: 422
 
Jump to post

how to customize an event in a page and trigger it

Thanks but if I add the code to page load, after its execution the code is no longer in the memory. What I need is a standby code that run in the background, and jump out to so something (for example when receiving a command from the network) do some updating in the page. For example a weather forec...
by geliz zhang
Mon Jul 21, 2014 9:07 pm
Forum: Issues
Topic: how to customize an event in a page and trigger it
Replies: 7
Views: 422
 
Jump to post

how to customize an event in a page and trigger it

No. Add js in the project result in that js file is attached onto all of the pages, but I only need a certain page to have it loaded.
Other methods can only apply js to a control, not an independent level.

by geliz zhang
Mon Jul 21, 2014 7:15 pm
Forum: Issues
Topic: Not able to attach javascript onto REST array directly?
Replies: 3
Views: 302
 
Jump to post

Not able to attach javascript onto REST array directly?

To duplicate this error, create a page, bind to a REST service with array in result. In the mapping page, create a javascript and drag an array to this javascript. If I press F12 to open the javascript console, I see this error. If I delete the mapping to this script, there is no error. If I set it ...
by geliz zhang
Mon Jul 21, 2014 7:10 pm
Forum: Issues
Topic: mapping list of object like an array
Replies: 4
Views: 341
 
Jump to post

mapping list of object like an array

Thanks.

by geliz zhang
Mon Jul 21, 2014 7:07 pm
Forum: Issues
Topic: how to customize an event in a page and trigger it
Replies: 7
Views: 422
 
Jump to post

how to customize an event in a page and trigger it

If I have a chat program which in the background keep listening to the network, when new data is coming, how do I notify the page to update? I don't want to reload the whole page. For a normal html page, I can define an event in the js file like this function update() { //do some update } then call ...
by geliz zhang
Mon Jul 21, 2014 1:22 am
Forum: Issues
Topic: Not able to attach javascript onto REST array directly?
Replies: 3
Views: 302
 
Jump to post

Not able to attach javascript onto REST array directly?

I know if I map an array to a list or grid it will automatically loop, but when I try to map it to a javascript code, it will always fail with an error Uncaught TypeError: Cannot call method 'find' of undefined https://d2r1vs3d9006ap.cloudfront.net/s3_images/1078622/q1_inline.jpg?1405905681 Feels li...
by geliz zhang
Sun Jul 20, 2014 6:12 pm
Forum: Issues
Topic: mapping list of object like an array
Replies: 4
Views: 341
 
Jump to post

mapping list of object like an array

source data https://d2r1vs3d9006ap.cloudfront.net/s3_images/1078547/q1_inline.jpg?1405879629 automatic response structure, which is not treating result like an array https://d2r1vs3d9006ap.cloudfront.net/s3_images/1078548/q2_inline.jpg?1405879722 I modified the field to be $, and ticked the array o...
by geliz zhang
Sun Jul 20, 2014 1:29 am
Forum: Issues
Topic: mapping list of object like an array
Replies: 4
Views: 341
 
Jump to post

mapping list of object like an array

I know how to map an array response into a list or grid. But when integrating with an external api that return records as a list of object not an array, I am not lucky: { "converation1": {name: "John", tag:"good"}, "converation2": {name: "Mike", tag:...

Go to advanced search