Chris2656882
Posts: 0
Joined: Fri May 11, 2012 3:47 pm

Issue with clickable lists

I'm having difficulty transferring dynamically data in a list (provided from a service) into a local storage variable to later transfer to another page.

I reviewed the tutorial at
http://help.gotiggr.com/getting-start...

Particularly, the section "Making the list clickable, saving route id in Local Storage"

The local storage variable seems to set the first time I click an item on the list (for debugging I have an alert box that displays the value).

However, if I press back on my browser and select a different item from the list, no data is stored.

Please advise.

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

Issue with clickable lists

It seems to work in this example: http://tiggzi.com/view/81105689-9246-... -- based on our clickable list tutorial.

kabrams
Posts: 0
Joined: Mon Nov 18, 2013 2:05 am

Issue with clickable lists

Hello, what is the updated link to this tutorial?

kabrams
Posts: 0
Joined: Mon Nov 18, 2013 2:05 am

Issue with clickable lists

tks

kabrams
Posts: 0
Joined: Mon Nov 18, 2013 2:05 am

Issue with clickable lists

I'm doing something a little different. I generated a list of items from a column in a collection. [record id]. I want to be able to click on each list item [each id] and generate the complete record [or some subset of variables] from the collection. Can you point me in the right direction.

kabrams
Posts: 0
Joined: Mon Nov 18, 2013 2:05 am

Issue with clickable lists

Hello, can you offer me some guidance with this?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Issue with clickable lists

Please specify what you have tried and where do you have difficulties, as tutorial above covers your demands.

kabrams
Posts: 0
Joined: Mon Nov 18, 2013 2:05 am

Issue with clickable lists

This is so terribly frustrating. The tutorial above provides instruction for an xml feed to create both lists.

I used the list service to create my 1st drop down list which only has two variables one of which is record id taken from a collection.

I saved the record id variable in local storage
created a new page with the label
setup the click to navigate feed from the first to the second page
but there is no instruction as to which service to create for page 2 when the feed is coming from an existing collection.

I have read nearly all the forum notes on clickable lists and everyone was directed to the xml example which is not an uncomplicated example.

Additionally, your support is inconsistent. Some people get full service with lots of examples and some get told to explain themselves. Anyway, is this enough information?

btw, I used list service on page one -- list is generated
and I used query service on page 2 - does not work

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Issue with clickable lists

Hello,

Let's try the following. On List item click event run this JavaScript to save id in a localStorage variable: prelocalStorage.setItem ("record_id", $(element).text());/pre
On page 2 'Page show' event create a Database Service- Read where you can use localStorage variable 'record_id' in request mapping. Do you do the same? If so please post some screenshots of this service.

These references may also help you:
http://docs.appery.io/tutorials/#Usin...
http://docs.appery.io/documentation/b...

Return to “Issues”