Page 1 of 3

Issue with clickable lists

Posted: Thu May 24, 2012 10:34 pm
by Chris2656882

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.


Issue with clickable lists

Posted: Fri May 25, 2012 7:47 pm
by maxkatz

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


Issue with clickable lists

Posted: Wed Feb 05, 2014 11:21 pm
by kabrams

Hello, what is the updated link to this tutorial?


Issue with clickable lists

Posted: Wed Feb 05, 2014 11:25 pm
by Alena Prykhodko

Issue with clickable lists

Posted: Thu Feb 06, 2014 12:11 am
by kabrams

tks


Issue with clickable lists

Posted: Thu Feb 06, 2014 12:14 am
by kabrams

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.


Issue with clickable lists

Posted: Thu Feb 06, 2014 12:48 am
by kabrams

Hello, can you offer me some guidance with this?


Issue with clickable lists

Posted: Thu Feb 06, 2014 1:04 am
by Alena Prykhodko

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


Issue with clickable lists

Posted: Thu Feb 06, 2014 2:53 am
by kabrams

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


Issue with clickable lists

Posted: Thu Feb 06, 2014 7:20 am
by Kateryna Grynko

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...