I’m just migrating from Sencha Touch 1.x to Sencha Touch 2 and I can’t find a way to pass parameters between views.
Lets say I have to views:
Place (a list with all the places)
PeopleAtPlace (A list of the people for each place)
Now what I need to do is to pass the id of the place that is pressed to the peopleatplace view so it can get the people for that specific view.
I’ve been reading Sencha’s documentation but it’s pretty confusing to me.
Could somebody please help me? A code snippet would be great help to me.
Controllers can be the glue between different views. I don’t know what kind of views you exactly have, but the following code can serve as a base: