Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

don ́t know where is this view!!

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

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

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

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

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

Return to “Issues”