Page 2 of 2

Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 1:33 pm
by Maryna Brodina

Sorry, could you clarify what code do you mean?
If we are talking about event on the screenshot, there is service invokation on Click event. What code are you referring to?


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 1:40 pm
by sunil_rinku

This is the code I am talking about This code is invoked onclick event when data returns. I got this from source code.

------------------------

'onSuccess': function(data) {
if (data.code == 1) {
Appery.navigateTo('MemberPage', {});
} else {
alert('Login Failed. Please try again.');
};
},

------------------------------------

I have tried to delete the event and create new event. I still cannot edit event when REST service returns data. Let me know how can I do this. I have done this before via just clkinng on edit button as you see in screenshots.


Cannot Edit Button Event.

Posted: Tue Apr 22, 2014 1:53 pm
by Maryna Brodina

You need to open Data tab, please take a look at the screenshot below
Image