Page 1 of 1

RestService, output mapping, WidgetTree not updated after adding the service

Posted: Thu May 03, 2012 8:21 am
by nib

Steps to reproduce:
1) Create new mobile web app
2) Add a grid (for input parameters)
3) add a RESTService (using echo server)
4) add more components to the grid
5) add a another grid (for output)
6) choose the service from 3) and select output mapping

Now you cannot see the grid and components under 5). I believe that the rest service just sees things up to itself has been added.

Workaround: Save Project, Close, Re-open in editor.

(I did not reproduce this, but tried to describe what I saw as a steps to reproduce, it seemed like a natural guess at where the problem could lie.)


RestService, output mapping, WidgetTree not updated after adding the service

Posted: Thu May 03, 2012 4:47 pm
by maxkatz

I followed the steps but wasn't able to reproduce the problem. When I opened Response Mapping, I did have all the components on the page side. If you reproduce it one more time, let us know.


RestService, output mapping, WidgetTree not updated after adding the service

Posted: Tue May 08, 2012 12:39 pm
by nib

Trying again, now detailing the steps as I take them:

1) new app, app builder, mobile web, blank iPad mobile web, "outputmappingIssue"
2) change screen type to blank ipad screen (which is actually dimensioned as an iPhone screen - ISSUE :)
3) Add button
4) add rest service http://wsf.cdyne.com/WeatherWS/Weathe..., XML type, using tiggzi proxy, adding parameter ZIP with default connection, and testing connection successfully.
5) populating response structure from the XML and save, close.
6) adding four text labels

screen shot of the design:
Image

7) turning to data mapping, which is still missing the structure on the screen, button and 4 labels.

Screen shot:

Image

This is the error I tried to report (notice the extra issue in step 2 above, I saw that before, but did not report it).

8) save and close
9) re-open (to validate work-around)
10) data mapping now works,

screen shot:
Image

Perhaps it is the change of screen template that I did not describe initially that cause the problem?


RestService, output mapping, WidgetTree not updated after adding the service

Posted: Tue May 08, 2012 4:30 pm
by maxkatz

Thanks for the steps, I was able to reproduce the problem.