Page 2 of 5

Changing the generated time

Posted: Wed Jul 09, 2014 3:03 am
by Lim Samantha

Hi,
I mean I am able to display the date and time but aren't able to send out messages as shown.
Image


Changing the generated time

Posted: Wed Jul 09, 2014 4:40 am
by Yurii Orishchuk

Hi Lim,

Please specify what do you have tried so far. And what is not work.

Regards.


Changing the generated time

Posted: Wed Jul 09, 2014 6:22 am
by Lim Samantha

Hi,
After adding this codes that you have provided:
var d = new Date(value),
minutes = d.getMinutes().toString().length == 1 ? '0'+d.getMinutes() : d.getMinutes(),
hours = d.getHours().toString().length == 1 ? '0'+d.getHours() : d.getHours(),
ampm = d.getHours() = 12 ? 'pm' : 'am',
months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],
days = ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'];
return days[d.getDay()]+' '+months[d.getMonth()]+' '+d.getDate()+' '+d.getFullYear()+' '+hours+':'+minutes+ampm;

I am able to display the date and time, but not able to send out messages.


Changing the generated time

Posted: Thu Jul 10, 2014 1:10 am
by Yurii Orishchuk

Hi LIm,

May be there is some errors in console?

Please check it out whether you have service invoking on "send message" button click.

Also please take a look on the network tab when you send the message. Is there any errors?

Regards.


Changing the generated time

Posted: Thu Jul 10, 2014 1:43 am
by nadiah jabbar

hello.
This is the list service mapping that we have done.
however, the amount is still not display at the label.

Image


Changing the generated time

Posted: Thu Jul 10, 2014 3:42 am
by Lim Samantha

Yes i did.
Here are the screen shots :

Image Image


Changing the generated time

Posted: Thu Jul 10, 2014 4:31 am
by Yurii Orishchuk

Lim,

I can not see create request.

Please make screen shots where we can see create request and all request parameters. And response.

Regards.


Changing the generated time

Posted: Thu Jul 10, 2014 5:31 am
by Lim Samantha

Hi i am not able to screenshot the request as it is very laggy and keep loading.
Will you be able to see it from here?

http://appery.io/app/mobile-frame?src...


Changing the generated time

Posted: Thu Jul 10, 2014 11:48 pm
by Yurii Orishchuk

Hi Lim,

I've checked your app on http://appery.io/app/view/8ede79da-08... page and it looks ok.

See details:

http://prntscr.com/41fm3l/direct

Did you managed to fix this problem?

If not - please specify steps how we can to reproduce this problem.

Regards.


Changing the generated time

Posted: Fri Jul 11, 2014 2:20 am
by Lim Samantha

Hi, yes it works this way.
But however, when i add in the codes your team provided, It would not be able to send out messages successfully.