Page 1 of 2

having problems with a clickable list. On second page, always showing same value.

Posted: Thu Nov 14, 2013 11:41 pm
by Alex GG

Hello Appery team,
I ́m working on an product catalog App. in this case, if I click on any brand, next page should show the corresponding logo.

I, already review the turorial for "Building a clickable list", also read documents about database and rest services, and history about same issue. but after 3 days of struggling with it, I stil can ́t figure out what is the problem. (details page always show same image, regladless of which brand is clicked)

I'm using FIREbug, and know that the correct value is passed to second page.

this is my database
Image

screen1 and the corresponding events.

my request/response in detail page
Image

Image

this is the public link of my app..hope you can help me...

http://appery.io/app/mobile-frame?src...

thanks Image


having problems with a clickable list. On second page, always showing same value.

Posted: Thu Nov 14, 2013 11:53 pm
by maxkatz

Did you check in Firebug that the local storage holds the new value when you navigate to the details page?


having problems with a clickable list. On second page, always showing same value.

Posted: Thu Nov 14, 2013 11:58 pm
by Alex GG

hello Max, yes! it looks that the new value is hold...here and example. Image


having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 12:00 am
by maxkatz

You should switch to a view that shows the local storage variables.


having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 12:03 am
by Alex GG

don ́t know where is this view!!


having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 12:10 am
by maxkatz

having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 12:44 am
by Alex GG

I still have bad luck!! For any reason could not install chrome..while installing, it hangs...have to stop installation =/


having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 12:47 am
by maxkatz

Local storage in Firefox:

Image


having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 1:08 am
by Alex GG

Ok. I tried this, and YES, every time I click on start screen, the value of local storage variable "alexid" changes and is hold for datail page..maybe the problem is in the maping because althouhg I delete the link from local variable to letter "q" in the service request, the same image shows.. Image


having problems with a clickable list. On second page, always showing same value.

Posted: Fri Nov 15, 2013 2:08 am
by maxkatz

See if the correct request (your id is there) is sent on the detail page on Net tab.