Page 1 of 3
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 1:52 pm
by Rupert Marx
I have a small problem with the tutorial you posted here: http://help.gotiggr.com/getting-start...
The screenshot in point 8 under the heading "Binding GetMessages service to the page" does not correlate with that I am seeing in tiggzi. Please see my screenshot attached. I am not able to get tiggzi to display messagetextitem under the mobilelistitem. Can you suggest where I might be going wrong? I tried to redo the UI but I keep getting the same result. I then moved on the the response mapping and that seems to not be working. Can you help please? I am stuck.
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:02 pm
by Rupert Marx
Just to add to this, when I test I am not seeing any results...I am able to POST to the API though
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:06 pm
by maxkatz
There is a Label component inside the List in the tutorial, but you are not required to use it. There are more attributes in the mapping, they were added after the tutorial was published.
Here is what you need to map:
$[] -- mobilelistitme5
text -- text
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:08 pm
by Rupert Marx
Max! You are a machine! The best support I have ever experienced! Thank you for a great service!
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:11 pm
by Rupert Marx
One more question, if I run the test, should I see the reposes listed? It is not bringing back anything. Is that fine?
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:12 pm
by maxkatz
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:17 pm
by Rupert Marx
The POST is fine. That I do when on a botton click even. The GET I think is not working. That I do on load event...
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:18 pm
by Rupert Marx
Might be working as I am not sure what to expect. I am thinking it should list the results from the GET on the load event...right?
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:21 pm
by maxkatz
It's possible, but more complicated because of how StackMob does authentication. See the note in orange.
Mapping response to mobile list item problem
Posted: Sun Aug 19, 2012 2:26 pm
by Rupert Marx
Ok. I will ask StackMob what they think. Thanks