Yves Senn
Posts: 0
Joined: Tue May 21, 2013 4:46 am

Post request answer not mapped

Hello people,

I got a problem while working with services of type POST. When sending the data which is mapped to request i get the data on the server and can process it. so far - so good.

As the possibility of POST is to also respond with some content (in this case the updated object including an id) i need to map the response to the UI as well.

The configuration worked like a charm with your UI, just that when executing the service the UI components are not filled.

Is there anything known about it?

To test this you can use the following app, published on your server when pressing "Speichern".

http://medevent.app.appery.io/levelBe...

I set the service to be echo service, so there should be data comming anyway. Which would be the following json as echo: {"id":16,"title":"titeeeeellltest","type":"ty","value":"a"}

Hope you can help me out here.

Thank you!

Cheers yves

Yves Senn
Posts: 0
Joined: Tue May 21, 2013 4:46 am

Post request answer not mapped

Hrm, after some more testing with the preview editor i saw that, the values are actually mapped. But after the popup shown and disappearing, they are gone.

in the browser it was so fast, that i didnt even see it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Post request answer not mapped

Hello! After you close popup you return to the main page which refreshes. Please check "Render all pages in one HTML file (jQuery Mobile multi-page template)". Another way is to change your app logic.

Yves Senn
Posts: 0
Joined: Tue May 21, 2013 4:46 am

Post request answer not mapped

Thank you, so far it works and the UI is even massively more responsive. Will check out if everything still runs as before.

Return to “Issues”