Search found 60 matches

Go to advanced search

by Zhong Liu
Wed Aug 06, 2014 1:26 am
Forum: Issues
Topic: creating dynamic pages
Replies: 7
Views: 990
 
Jump to post

creating dynamic pages

Hi Evgene,

What I want to do is to get the parameter pass to a page on url like appery.io/app/view/xxxxxxxx/b.html?id=xxxx. if I put a service on this page, can I get the parameters on page url?

by Zhong Liu
Tue Aug 05, 2014 4:11 pm
Forum: Issues
Topic: creating dynamic pages
Replies: 7
Views: 990
 
Jump to post

creating dynamic pages

Hi Maryna

But I can not find the 'Success' event on page, I can find 'load' event instead, could you please show me with a snapshot of screen, thank you.

by Zhong Liu
Sun Jul 20, 2014 6:18 am
Forum: Issues
Topic: query on array value--an array that contains at least one of the specified elements
Replies: 5
Views: 834
 
Jump to post

query on array value--an array that contains at least one of the specified elements

Hi IIIya, I knew $elemMatch, however I do not know how to use it on my case. I need the result like following: if the array value is [2,3,5,6], and if I give an array contain any element of [2,3,5,6], it will return true. could you please give me a sample upon my case using $elemMatch? thank you.
by Zhong Liu
Sat Jul 19, 2014 4:36 pm
Forum: Issues
Topic: query on array value--an array that contains at least one of the specified elements
Replies: 5
Views: 834
 
Jump to post

query on array value--an array that contains at least one of the specified elements

I knew there is an operator $all which is used to select the documents where the value of a field is an array that contains all the specified elements. however, I need another operator to select the documents where the value of a field is an array that contains at least one of the specified elements.

by Zhong Liu
Wed Jun 25, 2014 4:09 pm
Forum: Issues
Topic: how to decode imgDataBase64 of the response(camera service)
Replies: 1
Views: 453
 
Jump to post

how to decode imgDataBase64 of the response(camera service)

Hello,
I have a camera service, after call the service, I need save the photo to local jpeg file using phonegap plugin, see phonegap file plugin here: http://docs.phonegap.com/en/2.5.0/cor...

My question is how do I decode the string returned by camera service?

by Zhong Liu
Mon Jun 23, 2014 11:10 pm
Forum: Issues
Topic: call external rest service in javascript(not in server code)
Replies: 9
Views: 1346
 
Jump to post

call external rest service in javascript(not in server code)

Hi Evgene,
I tried the ajax, system report cross domain call error, how can I set proxy when direct call from JS?

by Zhong Liu
Mon Jun 23, 2014 3:56 pm
Forum: Issues
Topic: call external rest service in javascript(not in server code)
Replies: 9
Views: 1346
 
Jump to post

call external rest service in javascript(not in server code)

Hi Yurii, I defined a rest service, and add a datasource on the page like this: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1069220/1_inline.JPG?1403538923 then I put a piece of js code on 'click' event of a button like this: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1069223/2_inline.JPG?1...
by Zhong Liu
Mon Jun 23, 2014 3:52 pm
Forum: Issues
Topic: how to define a rest service that post multipart data
Replies: 3
Views: 607
 
Jump to post

how to define a rest service that post multipart data

Hi IIIya, I defined a rest service, and add a datasource on the page like this: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1069208/1_inline.JPG?1403538081 then I put a piece of js code on 'click' event of a button like this: https://d2r1vs3d9006ap.cloudfront.net/s3_images/1069210/2_inline.JPG?1...
by Zhong Liu
Mon Jun 23, 2014 2:56 am
Forum: Issues
Topic: call external rest service in javascript(not in server code)
Replies: 9
Views: 1346
 
Jump to post

call external rest service in javascript(not in server code)

Thank you, Yurii.
then, when I call the rest service, how do I give the multipart-form parameter when I do the test on defining rest service GUI, could you please give me an example.

by Zhong Liu
Sun Jun 22, 2014 11:04 am
Forum: Issues
Topic: call external rest service in javascript(not in server code)
Replies: 9
Views: 1346
 
Jump to post

call external rest service in javascript(not in server code)

what I mean is in appery.io, how can I pass a multipart-form data to the service?

Go to advanced search